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

Side by Side Diff: components/syncable_prefs/pref_model_associator_client.h

Issue 1305213009: Componentize PrefSyncableService and support classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pref_service_syncable
Patch Set: Add missing dependency on //sync:test_support_sync_api for unit tests with gn Created 5 years, 3 months 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_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
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_
OLDNEW
« no previous file with comments | « components/syncable_prefs/pref_model_associator.cc ('k') | components/syncable_prefs/pref_model_associator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698