Chromium Code Reviews| Index: chrome/renderer/origin_trials/origin_trial_key_manager.h |
| diff --git a/chrome/renderer/origin_trials/origin_trial_key_manager.h b/chrome/renderer/origin_trials/origin_trial_key_manager.h |
| index 18b01d841a82a93fcbd1e94f17b89d25b96b550d..5f01b50aa3e2788f8395b5fff79ae57c3dc46963 100644 |
| --- a/chrome/renderer/origin_trials/origin_trial_key_manager.h |
| +++ b/chrome/renderer/origin_trials/origin_trial_key_manager.h |
| @@ -5,11 +5,19 @@ |
| #ifndef CHROME_RENDERER_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |
| #define CHROME_RENDERER_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |
| +#include <string> |
| + |
| #include "base/strings/string_piece.h" |
| class OriginTrialKeyManager { |
| public: |
| - base::StringPiece GetPublicKey(); |
| + OriginTrialKeyManager(); |
| + ~OriginTrialKeyManager(); |
|
Alexei Svitkine (slow)
2016/02/26 16:29:08
Nit: Add empty line below.
iclelland
2016/02/26 19:55:04
Done.
|
| + bool SetPublicKeyFromASCIIString(const std::string& ascii_public_key); |
| + base::StringPiece GetPublicKey() const; |
| + |
| + private: |
| + std::string public_key_; |
| }; |
|
Alexei Svitkine (slow)
2016/02/26 16:29:08
Nit: DISALLOW_COPY_AND_ASSIGN()
iclelland
2016/02/26 19:55:04
Done. Thanks.
|
| #endif // CHROME_RENDERER_ORIGIN_TRIALS_ORIGIN_TRIAL_KEY_MANAGER_H_ |