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

Side by Side Diff: chrome/browser/prefs/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 CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 5 #ifndef CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
6 #define CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 6 #define CHROME_BROWSER_PREFS_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 ChromePrefModelAssociatorClient 18 class ChromePrefModelAssociatorClient
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 ChromePrefModelAssociatorClient* GetInstance(); 22 static ChromePrefModelAssociatorClient* GetInstance();
23 23
24 private: 24 private:
25 friend struct base::DefaultSingletonTraits<ChromePrefModelAssociatorClient>; 25 friend struct base::DefaultSingletonTraits<ChromePrefModelAssociatorClient>;
26 26
27 ChromePrefModelAssociatorClient(); 27 ChromePrefModelAssociatorClient();
28 ~ChromePrefModelAssociatorClient() override; 28 ~ChromePrefModelAssociatorClient() override;
29 29
30 // syncable_prefs::PrefModelAssociatorClient implementation. 30 // sync_preferences::PrefModelAssociatorClient implementation.
31 bool IsMergeableListPreference(const std::string& pref_name) const override; 31 bool IsMergeableListPreference(const std::string& pref_name) const override;
32 bool IsMergeableDictionaryPreference( 32 bool IsMergeableDictionaryPreference(
33 const std::string& pref_name) const override; 33 const std::string& pref_name) const override;
34 34
35 DISALLOW_COPY_AND_ASSIGN(ChromePrefModelAssociatorClient); 35 DISALLOW_COPY_AND_ASSIGN(ChromePrefModelAssociatorClient);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ 38 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698