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

Side by Side Diff: ios/chrome/browser/sync/ios_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 IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__ 5 #ifndef IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__
6 #define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__ 6 #define IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 20 matching lines...) Expand all
31 class SyncService; 31 class SyncService;
32 } 32 }
33 33
34 class IOSChromeSyncClient : public syncer::SyncClient { 34 class IOSChromeSyncClient : public syncer::SyncClient {
35 public: 35 public:
36 explicit IOSChromeSyncClient(ios::ChromeBrowserState* browser_state); 36 explicit IOSChromeSyncClient(ios::ChromeBrowserState* browser_state);
37 ~IOSChromeSyncClient() override; 37 ~IOSChromeSyncClient() override;
38 38
39 // SyncClient implementation. 39 // SyncClient implementation.
40 void Initialize() override; 40 void Initialize() override;
41 base::SequencedWorkerPool* GetBlockingPool() override;
41 syncer::SyncService* GetSyncService() override; 42 syncer::SyncService* GetSyncService() override;
42 PrefService* GetPrefService() override; 43 PrefService* GetPrefService() override;
43 base::FilePath GetLocalSyncBackendFolder() override; 44 base::FilePath GetLocalSyncBackendFolder() override;
44 bookmarks::BookmarkModel* GetBookmarkModel() override; 45 bookmarks::BookmarkModel* GetBookmarkModel() override;
45 favicon::FaviconService* GetFaviconService() override; 46 favicon::FaviconService* GetFaviconService() override;
46 history::HistoryService* GetHistoryService() override; 47 history::HistoryService* GetHistoryService() override;
47 bool HasPasswordStore() override; 48 bool HasPasswordStore() override;
48 base::Closure GetPasswordStateChangedCallback() override; 49 base::Closure GetPasswordStateChangedCallback() override;
49 syncer::SyncApiComponentFactory::RegisterDataTypesMethod 50 syncer::SyncApiComponentFactory::RegisterDataTypesMethod
50 GetRegisterPlatformTypesCallback() override; 51 GetRegisterPlatformTypesCallback() override;
(...skipping 29 matching lines...) Expand all
80 scoped_refptr<password_manager::PasswordStore> password_store_; 81 scoped_refptr<password_manager::PasswordStore> password_store_;
81 82
82 std::unique_ptr<sync_sessions::SyncSessionsClient> sync_sessions_client_; 83 std::unique_ptr<sync_sessions::SyncSessionsClient> sync_sessions_client_;
83 84
84 base::WeakPtrFactory<IOSChromeSyncClient> weak_ptr_factory_; 85 base::WeakPtrFactory<IOSChromeSyncClient> weak_ptr_factory_;
85 86
86 DISALLOW_COPY_AND_ASSIGN(IOSChromeSyncClient); 87 DISALLOW_COPY_AND_ASSIGN(IOSChromeSyncClient);
87 }; 88 };
88 89
89 #endif // IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__ 90 #endif // IOS_CHROME_BROWSER_SYNC_IOS_CHROME_SYNC_CLIENT_H__
OLDNEW
« no previous file with comments | « ios/chrome/browser/sync/ios_chrome_profile_sync_test_util.cc ('k') | ios/chrome/browser/sync/ios_chrome_sync_client.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698