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

Side by Side Diff: chrome/browser/prefs/origin_trial_prefs.cc

Issue 2047683002: Store Origin Trials public key in browser prefs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing first round review comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
Will Harris 2016/06/08 21:35:27 nit: no (c)
iclelland 2016/06/09 03:06:39 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/prefs/origin_trial_prefs.h"
6
7 #include "chrome/common/pref_names.h"
8 #include "components/prefs/pref_registry_simple.h"
9
10 // static
11 void OriginTrialPrefs::RegisterPrefs(PrefRegistrySimple* registry) {
12 registry->RegisterStringPref(prefs::kOriginTrialPublicKey, "");
Will Harris 2016/06/08 21:35:27 Is it okay for the default key to be "" - this wil
iclelland 2016/06/09 03:06:39 It won't hurt -- there is a default hard-coded key
13 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698