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

Side by Side Diff: chrome/browser/prefs/chrome_pref_service_factory.h

Issue 338093007: Flip Finch Configs so we can harden DSE w/o extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_ 5 #ifndef CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
6 #define CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_ 6 #define CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 10
(...skipping 22 matching lines...) Expand all
33 class SupervisedUserSettingsService; 33 class SupervisedUserSettingsService;
34 class TrackedPreferenceValidationDelegate; 34 class TrackedPreferenceValidationDelegate;
35 35
36 namespace chrome_prefs { 36 namespace chrome_prefs {
37 37
38 namespace internals { 38 namespace internals {
39 39
40 extern const char kSettingsEnforcementTrialName[]; 40 extern const char kSettingsEnforcementTrialName[];
41 extern const char kSettingsEnforcementGroupNoEnforcement[]; 41 extern const char kSettingsEnforcementGroupNoEnforcement[];
42 extern const char kSettingsEnforcementGroupEnforceAlways[]; 42 extern const char kSettingsEnforcementGroupEnforceAlways[];
43 extern const char kSettingsEnforcementGroupEnforceAlwaysWithExtensions[]; 43 extern const char kSettingsEnforcementGroupEnforceAlwaysWithDSE[];
44 extern const char kSettingsEnforcementGroupEnforceAlwaysWithExtensionsAndDSE[]; 44 extern const char kSettingsEnforcementGroupEnforceAlwaysWithExtensionsAndDSE[];
45 45
46 } // namespace internals 46 } // namespace internals
47 47
48 // Factory methods that create and initialize a new instance of a 48 // Factory methods that create and initialize a new instance of a
49 // PrefService for Chrome with the applicable PrefStores. The 49 // PrefService for Chrome with the applicable PrefStores. The
50 // |pref_filename| points to the user preference file. This is the 50 // |pref_filename| points to the user preference file. This is the
51 // usual way to create a new PrefService. 51 // usual way to create a new PrefService.
52 // |extension_pref_store| is used as the source for extension-controlled 52 // |extension_pref_store| is used as the source for extension-controlled
53 // preferences and may be NULL. 53 // preferences and may be NULL.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 // Register local state prefs used by chrome preference system. 109 // Register local state prefs used by chrome preference system.
110 void RegisterPrefs(PrefRegistrySimple* registry); 110 void RegisterPrefs(PrefRegistrySimple* registry);
111 111
112 // Register user prefs used by chrome preference system. 112 // Register user prefs used by chrome preference system.
113 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 113 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
114 114
115 } // namespace chrome_prefs 115 } // namespace chrome_prefs
116 116
117 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_ 117 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run_browsertest.cc ('k') | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698