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

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

Issue 2733023002: [Origin Trials] Support updates of disabled token list (Closed)
Patch Set: Address comments Created 3 years, 9 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/prefs/origin_trial_prefs.h" 5 #include "chrome/browser/prefs/origin_trial_prefs.h"
6 6
7 #include "chrome/common/pref_names.h" 7 #include "chrome/common/pref_names.h"
8 #include "components/prefs/pref_registry_simple.h" 8 #include "components/prefs/pref_registry_simple.h"
9 9
10 // static 10 // static
11 void OriginTrialPrefs::RegisterPrefs(PrefRegistrySimple* registry) { 11 void OriginTrialPrefs::RegisterPrefs(PrefRegistrySimple* registry) {
12 registry->RegisterStringPref(prefs::kOriginTrialPublicKey, ""); 12 registry->RegisterStringPref(prefs::kOriginTrialPublicKey, "");
13 registry->RegisterListPref(prefs::kOriginTrialDisabledFeatures); 13 registry->RegisterListPref(prefs::kOriginTrialDisabledFeatures);
14 registry->RegisterListPref(prefs::kOriginTrialDisabledTokens);
14 } 15 }
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/origin_trials_component_installer_unittest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698