| 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
|
|
|