diff options
Diffstat (limited to 'chrome/test/base/testing_profile.cc')
-rw-r--r-- | chrome/test/base/testing_profile.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc index c48b8c4..01304ef 100644 --- a/chrome/test/base/testing_profile.cc +++ b/chrome/test/base/testing_profile.cc @@ -712,10 +712,6 @@ HostZoomMap* TestingProfile::GetHostZoomMap() { return NULL; } -bool TestingProfile::HasProfileSyncService() { - return (profile_sync_service_.get() != NULL); -} - std::wstring TestingProfile::GetName() { return std::wstring(); } @@ -794,17 +790,6 @@ TokenService* TestingProfile::GetTokenService() { return token_service_.get(); } -ProfileSyncService* TestingProfile::GetProfileSyncService() { - if (!profile_sync_service_.get()) { - // Use a NiceMock here since we are really using the mock as a - // fake. Test cases that want to set expectations on a - // ProfileSyncService should use the ProfileMock and have this - // method return their own mock instance. - profile_sync_service_.reset(new NiceMock<ProfileSyncServiceMock>()); - } - return profile_sync_service_.get(); -} - ChromeBlobStorageContext* TestingProfile::GetBlobStorageContext() { return NULL; } |