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_PREF_MODEL_ASSOCIATOR_CLIENT_H_ | 5 #ifndef COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_CLIENT_H_ |
6 #define CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_CLIENT_H_ | 6 #define COMPONENTS_SYNCABLE_PREFS_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 | 11 |
12 // This class allows the embedder to configure the PrefModelAssociator to | 12 // This class allows the embedder to configure the PrefModelAssociator to |
13 // have a different behaviour when receiving preference synchronisations | 13 // have a different behaviour when receiving preference synchronisations |
14 // events from the server. | 14 // events from the server. |
15 class PrefModelAssociatorClient { | 15 class PrefModelAssociatorClient { |
16 public: | 16 public: |
(...skipping 18 matching lines...) Expand all Loading... |
35 std::string* new_pref_name) const = 0; | 35 std::string* new_pref_name) const = 0; |
36 | 36 |
37 protected: | 37 protected: |
38 PrefModelAssociatorClient() {} | 38 PrefModelAssociatorClient() {} |
39 virtual ~PrefModelAssociatorClient() {} | 39 virtual ~PrefModelAssociatorClient() {} |
40 | 40 |
41 private: | 41 private: |
42 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociatorClient); | 42 DISALLOW_COPY_AND_ASSIGN(PrefModelAssociatorClient); |
43 }; | 43 }; |
44 | 44 |
45 #endif // CHROME_BROWSER_PREFS_PREF_MODEL_ASSOCIATOR_CLIENT_H_ | 45 #endif // COMPONENTS_SYNCABLE_PREFS_PREF_MODEL_ASSOCIATOR_CLIENT_H_ |
OLD | NEW |