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

Side by Side Diff: components/sync/driver/sync_client.h

Issue 2612323003: [Sync] Filter out types that can't be synced at configure time. (Closed)
Patch Set: Fix bots. Created 3 years, 11 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 COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_
6 #define COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ 6 #define COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Returns the current SyncService instance. 64 // Returns the current SyncService instance.
65 virtual SyncService* GetSyncService() = 0; 65 virtual SyncService* GetSyncService() = 0;
66 66
67 // Returns the current profile's preference service. 67 // Returns the current profile's preference service.
68 virtual PrefService* GetPrefService() = 0; 68 virtual PrefService* GetPrefService() = 0;
69 69
70 // DataType specific service getters. 70 // DataType specific service getters.
71 virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0; 71 virtual bookmarks::BookmarkModel* GetBookmarkModel() = 0;
72 virtual favicon::FaviconService* GetFaviconService() = 0; 72 virtual favicon::FaviconService* GetFaviconService() = 0;
73 virtual history::HistoryService* GetHistoryService() = 0; 73 virtual history::HistoryService* GetHistoryService() = 0;
74 virtual bool HasPasswordStore() = 0;
74 75
75 // Returns a callback that will register the types specific to the current 76 // Returns a callback that will register the types specific to the current
76 // platform. 77 // platform.
77 virtual SyncApiComponentFactory::RegisterDataTypesMethod 78 virtual SyncApiComponentFactory::RegisterDataTypesMethod
78 GetRegisterPlatformTypesCallback() = 0; 79 GetRegisterPlatformTypesCallback() = 0;
79 80
80 // Returns a callback that will be invoked when password sync state has 81 // Returns a callback that will be invoked when password sync state has
81 // potentially been changed. 82 // potentially been changed.
82 virtual base::Closure GetPasswordStateChangedCallback() = 0; 83 virtual base::Closure GetPasswordStateChangedCallback() = 0;
83 84
(...skipping 24 matching lines...) Expand all
108 // Returns the current SyncApiComponentFactory instance. 109 // Returns the current SyncApiComponentFactory instance.
109 virtual SyncApiComponentFactory* GetSyncApiComponentFactory() = 0; 110 virtual SyncApiComponentFactory* GetSyncApiComponentFactory() = 0;
110 111
111 private: 112 private:
112 DISALLOW_COPY_AND_ASSIGN(SyncClient); 113 DISALLOW_COPY_AND_ASSIGN(SyncClient);
113 }; 114 };
114 115
115 } // namespace syncer 116 } // namespace syncer
116 117
117 #endif // COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_ 118 #endif // COMPONENTS_SYNC_DRIVER_SYNC_CLIENT_H_
OLDNEW
« no previous file with comments | « components/sync/driver/fake_sync_client.cc ('k') | ios/chrome/browser/sync/ios_chrome_sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698