1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21

content / common / synthetic_trial_configuration.mojom [blame]

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module content.mojom;

struct SyntheticTrialGroup {
  string trial_name;
  string group_name;
};

// Interface used by the browser process to tell the child processes about
// the current active synthetic trial groups.
interface SyntheticTrialConfiguration {
  // Tells the child process to add new synthetic trial groups or update the
  // existing synthetic trial groups.
  AddOrUpdateSyntheticTrialGroups(array<SyntheticTrialGroup> groups);

  // Tells the child process to remove the existing synthetic trial groups.
  RemoveSyntheticTrialGroups(array<SyntheticTrialGroup> groups);
};