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

Side by Side Diff: components/sync/driver/fake_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_FAKE_SYNC_CLIENT_H_ 5 #ifndef COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_
6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ 6 #define COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 11 matching lines...) Expand all
22 explicit FakeSyncClient(SyncApiComponentFactory* factory); 22 explicit FakeSyncClient(SyncApiComponentFactory* factory);
23 ~FakeSyncClient() override; 23 ~FakeSyncClient() override;
24 24
25 void Initialize() override; 25 void Initialize() override;
26 26
27 SyncService* GetSyncService() override; 27 SyncService* GetSyncService() override;
28 PrefService* GetPrefService() override; 28 PrefService* GetPrefService() override;
29 bookmarks::BookmarkModel* GetBookmarkModel() override; 29 bookmarks::BookmarkModel* GetBookmarkModel() override;
30 favicon::FaviconService* GetFaviconService() override; 30 favicon::FaviconService* GetFaviconService() override;
31 history::HistoryService* GetHistoryService() override; 31 history::HistoryService* GetHistoryService() override;
32 bool HasPasswordStore() override;
32 base::Closure GetPasswordStateChangedCallback() override; 33 base::Closure GetPasswordStateChangedCallback() override;
33 SyncApiComponentFactory::RegisterDataTypesMethod 34 SyncApiComponentFactory::RegisterDataTypesMethod
34 GetRegisterPlatformTypesCallback() override; 35 GetRegisterPlatformTypesCallback() override;
35 autofill::PersonalDataManager* GetPersonalDataManager() override; 36 autofill::PersonalDataManager* GetPersonalDataManager() override;
36 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override; 37 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
37 invalidation::InvalidationService* GetInvalidationService() override; 38 invalidation::InvalidationService* GetInvalidationService() override;
38 scoped_refptr<ExtensionsActivity> GetExtensionsActivity() override; 39 scoped_refptr<ExtensionsActivity> GetExtensionsActivity() override;
39 sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override; 40 sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override;
40 base::WeakPtr<SyncableService> GetSyncableServiceForType( 41 base::WeakPtr<SyncableService> GetSyncableServiceForType(
41 ModelType type) override; 42 ModelType type) override;
(...skipping 10 matching lines...) Expand all
52 ModelTypeSyncBridge* bridge_; 53 ModelTypeSyncBridge* bridge_;
53 SyncApiComponentFactory* factory_; 54 SyncApiComponentFactory* factory_;
54 std::unique_ptr<FakeSyncService> sync_service_; 55 std::unique_ptr<FakeSyncService> sync_service_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient); 57 DISALLOW_COPY_AND_ASSIGN(FakeSyncClient);
57 }; 58 };
58 59
59 } // namespace syncer 60 } // namespace syncer
60 61
61 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_ 62 #endif // COMPONENTS_SYNC_DRIVER_FAKE_SYNC_CLIENT_H_
OLDNEW
« no previous file with comments | « components/sync/driver/data_type_manager_impl_unittest.cc ('k') | components/sync/driver/fake_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698