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: chrome/browser/sync/chrome_sync_client.h

Issue 2710623003: [sync] Clean up path generation for the local sync database. (Closed)
Patch Set: Fix non-windows bots. 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
« 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 21 matching lines...) Expand all
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 syncer::SyncService* GetSyncService() override; 40 syncer::SyncService* GetSyncService() override;
41 PrefService* GetPrefService() override; 41 PrefService* GetPrefService() override;
42 base::FilePath GetLocalSyncBackendFolder() override;
42 bookmarks::BookmarkModel* GetBookmarkModel() override; 43 bookmarks::BookmarkModel* GetBookmarkModel() override;
43 favicon::FaviconService* GetFaviconService() override; 44 favicon::FaviconService* GetFaviconService() override;
44 history::HistoryService* GetHistoryService() override; 45 history::HistoryService* GetHistoryService() override;
45 bool HasPasswordStore() override; 46 bool HasPasswordStore() override;
46 base::Closure GetPasswordStateChangedCallback() override; 47 base::Closure GetPasswordStateChangedCallback() override;
47 syncer::SyncApiComponentFactory::RegisterDataTypesMethod 48 syncer::SyncApiComponentFactory::RegisterDataTypesMethod
48 GetRegisterPlatformTypesCallback() override; 49 GetRegisterPlatformTypesCallback() override;
49 autofill::PersonalDataManager* GetPersonalDataManager() override; 50 autofill::PersonalDataManager* GetPersonalDataManager() override;
50 invalidation::InvalidationService* GetInvalidationService() override; 51 invalidation::InvalidationService* GetInvalidationService() override;
51 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override; 52 BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 ExtensionsActivityMonitor extensions_activity_monitor_; 101 ExtensionsActivityMonitor extensions_activity_monitor_;
101 102
102 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_; 103 base::WeakPtrFactory<ChromeSyncClient> weak_ptr_factory_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient); 105 DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient);
105 }; 106 };
106 107
107 } // namespace browser_sync 108 } // namespace browser_sync
108 109
109 #endif // CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__ 110 #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