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

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

Issue 2601873002: Add a mojo bridge for PersistentPrefStore. (Closed)
Patch Set: Created 3 years, 10 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 (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 <memory> 8 #include <memory>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 std::unique_ptr<PrefService> CreateLocalState( 66 std::unique_ptr<PrefService> CreateLocalState(
67 const base::FilePath& pref_filename, 67 const base::FilePath& pref_filename,
68 base::SequencedTaskRunner* pref_io_task_runner, 68 base::SequencedTaskRunner* pref_io_task_runner,
69 policy::PolicyService* policy_service, 69 policy::PolicyService* policy_service,
70 const scoped_refptr<PrefRegistry>& pref_registry, 70 const scoped_refptr<PrefRegistry>& pref_registry,
71 bool async); 71 bool async);
72 72
73 std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs( 73 std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs(
74 const base::FilePath& pref_filename, 74 const base::FilePath& pref_filename,
75 base::SequencedTaskRunner* pref_io_task_runner, 75 base::SequencedTaskRunner* pref_io_task_runner,
76 TrackedPreferenceValidationDelegate* validation_delegate, 76 base::WeakPtr<TrackedPreferenceValidationDelegate> validation_delegate,
77 policy::PolicyService* policy_service, 77 policy::PolicyService* policy_service,
78 SupervisedUserSettingsService* supervised_user_settings, 78 SupervisedUserSettingsService* supervised_user_settings,
79 const scoped_refptr<PrefStore>& extension_prefs, 79 const scoped_refptr<PrefStore>& extension_prefs,
80 const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry, 80 const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry,
81 bool async); 81 bool async);
82 82
83 // Call before startup tasks kick in to ignore the presence of a domain when 83 // Call before startup tasks kick in to ignore the presence of a domain when
84 // determining the active SettingsEnforcement group. For testing only. 84 // determining the active SettingsEnforcement group. For testing only.
85 void DisableDomainCheckForTesting(); 85 void DisableDomainCheckForTesting();
86 86
(...skipping 10 matching lines...) Expand all
97 // Clears the time of the last preference reset event, if any, for the provided 97 // Clears the time of the last preference reset event, if any, for the provided
98 // profile. 98 // profile.
99 void ClearResetTime(Profile* profile); 99 void ClearResetTime(Profile* profile);
100 100
101 // Register user prefs used by chrome preference system. 101 // Register user prefs used by chrome preference system.
102 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 102 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
103 103
104 } // namespace chrome_prefs 104 } // namespace chrome_prefs
105 105
106 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_ 106 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698