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

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

Issue 1737693002: Allow command-line arguments to override EF public key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing feedback from PS#4 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
(Empty)
1 // Copyright 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/macros.h"
9
10 namespace base {
11 class CommandLine;
12 }
13
14 class OriginTrialController {
15 public:
16 static const char kFieldTrialName[];
17 static const char kPublicKeyFieldName[];
18
19 // Updates the renderer command line to pass any relevant origin trial
20 // configuration to the renderer at startup. Currently this can include an
21 // updated public key to use for validating tokens. This method is
22 // thread-safe.
23 static void UpdateCommandLineFromFieldTrials(base::CommandLine* command_line);
24
25 private:
26 DISALLOW_IMPLICIT_CONSTRUCTORS(OriginTrialController);
27 };
28
29 #endif // CHROME_BROWSER_ORIGIN_TRIALS_ORIGIN_TRIAL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698