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

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: Limit ui/ DEPS to transition types 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 6839c78d4d9ee6d8f43dd08ecd90a2e3d40d3ffe..b10b0ae099c5b21d975582978b9bc21a69cc84e6 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"
class Profile;
@@ -36,6 +37,7 @@ class ChromeSyncClient : public sync_driver::SyncClient {
autofill::PersonalDataManager* GetPersonalDataManager() override;
scoped_refptr<autofill::AutofillWebDataService> GetWebDataService() override;
BookmarkUndoService* GetBookmarkUndoServiceIfExists() override;
+ sync_sessions::SyncSessionsClient* GetSyncSessionsClient() override;
base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
syncer::ModelType type) override;
@@ -52,11 +54,15 @@ 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.
// Note: not owned.
sync_driver::SyncService* sync_service_;
+
+ DISALLOW_COPY_AND_ASSIGN(ChromeSyncClient);
};
} // namespace browser_sync

Powered by Google App Engine
This is Rietveld 408576698