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

Unified Diff: chrome/common/origin_trials/origin_trial_key_manager.h

Issue 2047683002: Store Origin Trials public key in browser prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
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
index f9daf477349c4dc4b37a825daa05560336ad6857..e46e7be11f7d7622753970267a6e46dbcdb4e6b3 100644
--- a/chrome/common/origin_trials/origin_trial_key_manager.h
+++ b/chrome/common/origin_trials/origin_trial_key_manager.h
@@ -10,6 +10,8 @@
#include "base/macros.h"
#include "base/strings/string_piece.h"
+class PrefRegistrySimple;
+
// This class is instantiated on the main/ui thread, but its methods can be
// accessed from any thread.
class OriginTrialKeyManager {
@@ -20,6 +22,8 @@ class OriginTrialKeyManager {
bool SetPublicKeyFromASCIIString(const std::string& ascii_public_key);
base::StringPiece GetPublicKey() const;
+ static void RegisterPrefs(PrefRegistrySimple* registry);
chasej 2016/06/07 15:09:40 I don't see a definition for this function. As per
iclelland 2016/06/08 02:48:22 This unused declaration shouldn't have made it to
+
private:
std::string public_key_;

Powered by Google App Engine
This is Rietveld 408576698