Chromium Code Reviews| Index: chrome/browser/prefs/origin_trial_prefs.cc |
| diff --git a/chrome/browser/prefs/origin_trial_prefs.cc b/chrome/browser/prefs/origin_trial_prefs.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..39706f4d4b32ffa4bd39c458bd78b6c17614cf77 |
| --- /dev/null |
| +++ b/chrome/browser/prefs/origin_trial_prefs.cc |
| @@ -0,0 +1,13 @@ |
| +// 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.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "chrome/browser/prefs/origin_trial_prefs.h" |
| + |
| +#include "chrome/common/pref_names.h" |
| +#include "components/prefs/pref_registry_simple.h" |
| + |
| +// static |
| +void OriginTrialPrefs::RegisterPrefs(PrefRegistrySimple* registry) { |
| + 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
|
| +} |