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

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

Issue 2459823002: [Sync] Rename syncable_prefs to sync_preferences. (Closed)
Patch Set: Created 4 years, 1 month 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"
11 11
12 namespace base { 12 namespace base {
13 class DictionaryValue; 13 class DictionaryValue;
14 class FilePath; 14 class FilePath;
15 class SequencedTaskRunner; 15 class SequencedTaskRunner;
16 class Time; 16 class Time;
17 } 17 }
18 18
19 namespace policy { 19 namespace policy {
20 class PolicyService; 20 class PolicyService;
21 } 21 }
22 22
23 namespace syncable_prefs { 23 namespace sync_preferences {
24 class PrefServiceSyncable; 24 class PrefServiceSyncable;
25 } 25 }
26 26
27 namespace user_prefs { 27 namespace user_prefs {
28 class PrefRegistrySyncable; 28 class PrefRegistrySyncable;
29 } 29 }
30 30
31 class PrefHashStore; 31 class PrefHashStore;
32 class PrefRegistry; 32 class PrefRegistry;
33 class PrefRegistrySimple; 33 class PrefRegistrySimple;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // guaranteed that in asynchronous version initialization happens after this 65 // guaranteed that in asynchronous version initialization happens after this
66 // function returned. 66 // function returned.
67 67
68 std::unique_ptr<PrefService> CreateLocalState( 68 std::unique_ptr<PrefService> CreateLocalState(
69 const base::FilePath& pref_filename, 69 const base::FilePath& pref_filename,
70 base::SequencedTaskRunner* pref_io_task_runner, 70 base::SequencedTaskRunner* pref_io_task_runner,
71 policy::PolicyService* policy_service, 71 policy::PolicyService* policy_service,
72 const scoped_refptr<PrefRegistry>& pref_registry, 72 const scoped_refptr<PrefRegistry>& pref_registry,
73 bool async); 73 bool async);
74 74
75 std::unique_ptr<syncable_prefs::PrefServiceSyncable> CreateProfilePrefs( 75 std::unique_ptr<sync_preferences::PrefServiceSyncable> CreateProfilePrefs(
76 const base::FilePath& pref_filename, 76 const base::FilePath& pref_filename,
77 base::SequencedTaskRunner* pref_io_task_runner, 77 base::SequencedTaskRunner* pref_io_task_runner,
78 TrackedPreferenceValidationDelegate* validation_delegate, 78 TrackedPreferenceValidationDelegate* validation_delegate,
79 policy::PolicyService* policy_service, 79 policy::PolicyService* policy_service,
80 SupervisedUserSettingsService* supervised_user_settings, 80 SupervisedUserSettingsService* supervised_user_settings,
81 const scoped_refptr<PrefStore>& extension_prefs, 81 const scoped_refptr<PrefStore>& extension_prefs,
82 const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry, 82 const scoped_refptr<user_prefs::PrefRegistrySyncable>& pref_registry,
83 bool async); 83 bool async);
84 84
85 // Call before startup tasks kick in to ignore the presence of a domain when 85 // Call before startup tasks kick in to ignore the presence of a domain when
(...skipping 13 matching lines...) Expand all
99 // Clears the time of the last preference reset event, if any, for the provided 99 // Clears the time of the last preference reset event, if any, for the provided
100 // profile. 100 // profile.
101 void ClearResetTime(Profile* profile); 101 void ClearResetTime(Profile* profile);
102 102
103 // Register user prefs used by chrome preference system. 103 // Register user prefs used by chrome preference system.
104 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); 104 void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
105 105
106 } // namespace chrome_prefs 106 } // namespace chrome_prefs
107 107
108 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_ 108 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_SERVICE_FACTORY_H_
OLDNEW
« no previous file with comments | « chrome/browser/prefs/chrome_pref_model_associator_client.h ('k') | chrome/browser/prefs/chrome_pref_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698