Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 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 #include "base/command_line.h" | |
|
chasej
2016/02/26 06:10:34
Can this be a forward declaration instead?
iclelland
2016/02/26 15:24:47
Done.
| |
| 9 | |
| 10 class OriginTrialController { | |
| 11 public: | |
| 12 static const char kFieldTrialName[]; | |
| 13 static const char kPublicKeyFieldName[]; | |
| 14 | |
| 15 // Updates the renderer command line to pass any relevant origin trial | |
| 16 // configuration to the renderer at startup. Currently this can include an | |
| 17 // updated public key to use for validating tokens. This method is | |
| 18 // thread-safe. | |
| 19 static void UpdateCommandLineFromFieldTrials(base::CommandLine* command_line); | |
| 20 }; | |
| 21 | |
| 22 #endif // CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_ | |
| OLD | NEW |