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

Side by Side Diff: chrome/browser/sync/chrome_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
« no previous file with comments | « no previous file | chrome/browser/sync/chrome_sync_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYNC_CHROME_SYNC_CLIENT_H__ 5 #ifndef CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
6 #define CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__ 6 #define CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 24 matching lines...) Expand all
35 explicit ChromeSyncClient(Profile* profile); 35 explicit ChromeSyncClient(Profile* profile);
36 ~ChromeSyncClient() override; 36 ~ChromeSyncClient() override;
37 37
38 // SyncClient implementation. 38 // SyncClient implementation.
39 void Initialize() override; 39 void Initialize() override;
40 syncer::SyncService* GetSyncService() override; 40 syncer::SyncService* GetSyncService() override;
41 PrefService* GetPrefService() override; 41 PrefService* GetPrefService() override;
42 bookmarks::BookmarkModel* GetBookmarkModel() override; 42 bookmarks::BookmarkModel* GetBookmarkModel() override;
43 favicon::FaviconService* GetFaviconService() override; 43 favicon::FaviconService* GetFaviconService() override;
44 history::HistoryService* GetHistoryService() override; 44 history::HistoryService* GetHistoryService() override;
45 bool HasPasswordStore() override;
45 base::Closure GetPasswordStateChangedCallback() override; 46 base::Closure GetPasswordStateChangedCallback() override;
46 syncer::SyncApiComponentFactory::RegisterDataTypesMethod 47 syncer::SyncApiComponentFactory::RegisterDataTypesMethod
47 GetRegisterPlatformTypesCallback() override; 48 GetRegisterPlatformTypesCallback() override;
48 autofill::PersonalDataManager* GetPersonalDataManager() override; 49 autofill::PersonalDataManager* GetPersonalDataManager() override;
49 invalidation::InvalidationService* GetInvalidationService() override; 50 invalidation::InvalidationService* GetInvalidationService() override;
50 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override; 51 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
51 scoped_refptr<syncer::ExtensionsActivity> GetExtensionsActivity() override; 52 scoped_refptr<syncer::ExtensionsActivity> GetExtensionsActivity() override;
52 sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override; 53 sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override;
53 base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( 54 base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
54 syncer::ModelType type) override; 55 syncer::ModelType type) override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 ExtensionsActivityMonitor extensions_activity_monitor_; 100 ExtensionsActivityMonitor extensions_activity_monitor_;
100 101
101 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_; 102 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient); 104 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient);
104 }; 105 };
105 106
106 } // namespace browser_sync 107 } // namespace browser_sync
107 108
108 #endif // CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__ 109 #endif // CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/chrome_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698