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

Side by Side Diff: chrome/browser/sync/chrome_sync_client.h

Issue 2732333003: [Sync] ModelTypeStore factory shouldn't require valid PSS to function correctly (Closed)
Patch Set: Address comments Created 3 years, 9 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_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 19 matching lines...) Expand all
30 30
31 namespace browser_sync { 31 namespace browser_sync {
32 32
33 class ChromeSyncClient : public syncer::SyncClient { 33 class ChromeSyncClient : public syncer::SyncClient {
34 public: 34 public:
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 base::SequencedWorkerPool* GetBlockingPool() override;
40 syncer::SyncService* GetSyncService() override; 41 syncer::SyncService* GetSyncService() override;
41 PrefService* GetPrefService() override; 42 PrefService* GetPrefService() override;
42 base::FilePath GetLocalSyncBackendFolder() override; 43 base::FilePath GetLocalSyncBackendFolder() override;
43 bookmarks::BookmarkModel* GetBookmarkModel() override; 44 bookmarks::BookmarkModel* GetBookmarkModel() override;
44 favicon::FaviconService* GetFaviconService() override; 45 favicon::FaviconService* GetFaviconService() override;
45 history::HistoryService* GetHistoryService() override; 46 history::HistoryService* GetHistoryService() override;
46 bool HasPasswordStore() override; 47 bool HasPasswordStore() override;
47 base::Closure GetPasswordStateChangedCallback() override; 48 base::Closure GetPasswordStateChangedCallback() override;
48 syncer::SyncApiComponentFactory::RegisterDataTypesMethod 49 syncer::SyncApiComponentFactory::RegisterDataTypesMethod
49 GetRegisterPlatformTypesCallback() override; 50 GetRegisterPlatformTypesCallback() override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ExtensionsActivityMonitor extensions_activity_monitor_; 102 ExtensionsActivityMonitor extensions_activity_monitor_;
102 103
103 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_; 104 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_;
104 105
105 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient); 106 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient);
106 }; 107 };
107 108
108 } // namespace browser_sync 109 } // namespace browser_sync
109 110
110 #endif // CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__ 111 #endif // CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/printing/printers_manager_factory.cc ('k') | chrome/browser/sync/chrome_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698