Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: chrome/browser/origin_trials/origin_trial_controller.h

Issue 1741783002: Add disabled origin trial feature list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ef-finch
Patch Set: Rebase; style fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_
6 #define CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ 6 #define CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_
7 7
8 namespace base { 8 namespace base {
9 class CommandLine; 9 class CommandLine;
10 } 10 }
11 11
12 class OriginTrialController { 12 class OriginTrialController {
13 public: 13 public:
14 static const char kFieldTrialName[]; 14 static const char kFieldTrialName[];
15 static const char kPublicKeyFieldName[]; 15 static const char kPublicKeyFieldName[];
16 static const char kDisabledFeaturesFieldName[];
16 17
17 // Updates the renderer command line to pass any relevant origin trial 18 // Updates the renderer command line to pass any relevant origin trial
18 // configuration to the renderer at startup. Currently this can include an 19 // configuration to the renderer at startup. Currently this can include an
19 // updated public key to use for validating tokens. This method is 20 // updated public key to use for validating tokens, and a list of experimental
20 // thread-safe. 21 // features to exclude from origin trials. This method is thread-safe.
21 static void UpdateCommandLineFromFieldTrials(base::CommandLine* command_line); 22 static void UpdateCommandLineFromFieldTrials(base::CommandLine* command_line);
22 }; 23 };
23 24
24 #endif // CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ 25 #endif // CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698