OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | |
sky
2016/03/03 20:55:30
style guide says no (c) anymore.
iclelland
2016/03/07 14:48:19
Thanks, I missed that.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ | |
6 #define CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ | |
7 | |
8 namespace base { | |
9 class CommandLine; | |
10 } | |
11 | |
12 class OriginTrialController { | |
sky
2016/03/03 20:55:30
There is no point in using a class for this. If yo
iclelland
2016/03/07 14:48:19
The class is really just there for namespacing, no
| |
13 public: | |
14 static const char kFieldTrialName[]; | |
15 static const char kPublicKeyFieldName[]; | |
16 | |
17 // Updates the renderer command line to pass any relevant origin trial | |
18 // configuration to the renderer at startup. Currently this can include an | |
19 // updated public key to use for validating tokens. This method is | |
20 // thread-safe. | |
21 static void UpdateCommandLineFromFieldTrials(base::CommandLine* command_line); | |
22 }; | |
23 | |
24 #endif // CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ | |
OLD | NEW |