summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/profile_sync_service.h')
-rw-r--r--chrome/browser/sync/profile_sync_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index c96799b..65f18f5 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -172,7 +172,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// Whether sync is enabled by user or not.
virtual bool HasSyncSetupCompleted() const;
- void SetSyncSetupCompleted();
+ virtual void SetSyncSetupCompleted();
// SyncFrontend implementation.
virtual void OnBackendInitialized();
@@ -355,6 +355,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
const GURL& sync_service_url() const { return sync_service_url_; }
+ SigninManager* signin() { return &signin_; }
protected:
// Used by ProfileSyncServiceMock only.
//
@@ -407,7 +408,6 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
friend class ProfileSyncServicePasswordTest;
friend class ProfileSyncServicePreferenceTest;
friend class ProfileSyncServiceSessionTest;
- friend class ProfileSyncServiceTestHarness;
FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTest, InitialState);
FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTest,
UnrecoverableErrorSuspendsService);