OLD | NEW |
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" |
(...skipping 13 matching lines...) Expand all Loading... |
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 // syncable_prefs::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 bool IsMigratedPreference(const std::string& new_pref_name, | |
35 std::string* old_pref_name) const override; | |
36 bool IsOldMigratedPreference(const std::string& old_pref_name, | |
37 std::string* new_pref_name) const override; | |
38 | 34 |
39 DISALLOW_COPY_AND_ASSIGN(ChromePrefModelAssociatorClient); | 35 DISALLOW_COPY_AND_ASSIGN(ChromePrefModelAssociatorClient); |
40 }; | 36 }; |
41 | 37 |
42 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ | 38 #endif // CHROME_BROWSER_PREFS_CHROME_PREF_MODEL_ASSOCIATOR_CLIENT_H_ |
OLD | NEW |