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

Side by Side Diff: ios/chrome/browser/prefs/ios_chrome_pref_model_associator_client.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 5 #ifndef IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
6 #define IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 6 #define IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/syncable_prefs/pref_model_associator_client.h" 11 #include "components/sync_preferences/pref_model_associator_client.h"
12 12
13 namespace base { 13 namespace base {
14 template <typename T> 14 template <typename T>
15 struct DefaultSingletonTraits; 15 struct DefaultSingletonTraits;
16 } 16 }
17 17
18 class IOSChromePrefModelAssociatorClient 18 class IOSChromePrefModelAssociatorClient
19 : public syncable_prefs::PrefModelAssociatorClient { 19 : public sync_preferences::PrefModelAssociatorClient {
20 public: 20 public:
21 // Returns the global instance. 21 // Returns the global instance.
22 static IOSChromePrefModelAssociatorClient* GetInstance(); 22 static IOSChromePrefModelAssociatorClient* GetInstance();
23 23
24 private: 24 private:
25 friend struct base::DefaultSingletonTraits< 25 friend struct base::DefaultSingletonTraits<
26 IOSChromePrefModelAssociatorClient>; 26 IOSChromePrefModelAssociatorClient>;
27 27
28 IOSChromePrefModelAssociatorClient(); 28 IOSChromePrefModelAssociatorClient();
29 ~IOSChromePrefModelAssociatorClient() override; 29 ~IOSChromePrefModelAssociatorClient() override;
30 30
31 // syncable_prefs::PrefModelAssociatorClient implementation. 31 // sync_preferences::PrefModelAssociatorClient implementation.
32 bool IsMergeableListPreference(const std::string& pref_name) const override; 32 bool IsMergeableListPreference(const std::string& pref_name) const override;
33 bool IsMergeableDictionaryPreference( 33 bool IsMergeableDictionaryPreference(
34 const std::string& pref_name) const override; 34 const std::string& pref_name) const override;
35 35
36 DISALLOW_COPY_AND_ASSIGN(IOSChromePrefModelAssociatorClient); 36 DISALLOW_COPY_AND_ASSIGN(IOSChromePrefModelAssociatorClient);
37 }; 37 };
38 38
39 #endif // IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 39 #endif // IOS_CHROME_BROWSER_PREFS_IOS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/prefs/BUILD.gn ('k') | ios/chrome/browser/prefs/ios_chrome_pref_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698