Chromium Code Reviews| Index: chrome/common/origin_trials/origin_trial_key_manager.h |
| diff --git a/chrome/common/origin_trials/origin_trial_key_manager.h b/chrome/common/origin_trials/origin_trial_key_manager.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..cd6b2453b15ec4ef3a48722509766a0db0bcd013 |
| --- /dev/null |
| +++ b/chrome/common/origin_trials/origin_trial_key_manager.h |
| @@ -0,0 +1,17 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |
| +#define CHROME_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |
| + |
| +#include "base/strings/string_piece.h" |
| + |
| +// This class is instantiated on the main/ui thread, but its methods can be |
| +// accessed from any thread. |
| +class OriginTrialKeyManager { |
|
Nico
2016/03/11 21:49:05
(why is this an instantiated class instead of just
Marijn Kruisselbrink
2016/03/11 21:56:36
I'm not sure. I think iclelland@ had some future p
|
| + public: |
| + base::StringPiece GetPublicKey(); |
| +}; |
| + |
| +#endif // CHROME_COMMON_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |