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

Unified Diff: chrome/browser/sync/chrome_sync_client.h

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test broken by rebase Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/chrome_sync_client.h
diff --git a/chrome/browser/sync/chrome_sync_client.h b/chrome/browser/sync/chrome_sync_client.h
index ecb9091bf3bd8579e0971328a498350307505c5c..e9482f31864e9107793fcd5f73ac23b9bf434a04 100644
--- a/chrome/browser/sync/chrome_sync_client.h
+++ b/chrome/browser/sync/chrome_sync_client.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
#define CHROME_BROWSER_SYNC_CHROME_SYNC_CLIENT_H__
+#include "base/macros.h"
#include "components/sync_driver/sync_client.h"
#include "chrome/browser/sync/glue/extensions_activity_monitor.h"
@@ -40,6 +41,7 @@ class ChromeSyncClient : public sync_driver::SyncClient {
scoped_refptr<autofill::AutofillWebDataService> GetWebDataService() override;
BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
scoped_refptr<syncer::ExtensionsActivity> GetExtensionsActivity() override;
+ sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override;
base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
syncer::ModelType type) override;
scoped_refptr<syncer::ModelSafeWorker> CreateModelWorkerForGroup(
@@ -58,6 +60,8 @@ class ChromeSyncClient : public sync_driver::SyncClient {
scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
scoped_refptr<password_manager::PasswordStore> password_store_;
+ scoped_ptr<sync_sessions::SyncSessionsClient> sync_sessions_client_;
+
// TODO(zea): this is a member only because Typed URLs needs access to
// the UserShare and Cryptographer outside of the UI thread. Remove this
// once that's no longer the case.
@@ -66,6 +70,8 @@ class ChromeSyncClient : public sync_driver::SyncClient {
// Generates and monitors the ExtensionsActivity object used by sync.
ExtensionsActivityMonitor extensions_activity_monitor_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient);
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698