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

Unified Diff: chrome/browser/sync/profile_sync_service_startup_unittest.cc

Issue 334713008: Use AttachmentUploadImpl instead of FakeAttachmentUploader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Apply CR feedback from tim. Created 6 years, 6 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/profile_sync_service_startup_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_startup_unittest.cc b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
index d4c79fc52b9c4a4b4199d308e2fd25d91c918ad5..85c211cbd4a23e19314043525bdc4627d8e06fc4 100644
--- a/chrome/browser/sync/profile_sync_service_startup_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_startup_unittest.cc
@@ -101,8 +101,8 @@ class ProfileSyncServiceStartupTest : public testing::Test {
return new ProfileSyncService(
new ProfileSyncComponentsFactoryMock(),
profile,
- new ManagedUserSigninManagerWrapper(
- profile, SigninManagerFactory::GetForProfile(profile)),
+ make_scoped_ptr(new ManagedUserSigninManagerWrapper(
+ profile, SigninManagerFactory::GetForProfile(profile))),
ProfileOAuth2TokenServiceFactory::GetForProfile(profile),
browser_sync::MANUAL_START);
}
@@ -185,7 +185,7 @@ class ProfileSyncServiceStartupCrosTest : public ProfileSyncServiceStartupTest {
return new ProfileSyncService(
new ProfileSyncComponentsFactoryMock(),
profile,
- new ManagedUserSigninManagerWrapper(profile, signin),
+ make_scoped_ptr(new ManagedUserSigninManagerWrapper(profile, signin)),
oauth2_token_service,
browser_sync::AUTO_START);
}
« no previous file with comments | « chrome/browser/sync/profile_sync_service_mock.cc ('k') | chrome/browser/sync/profile_sync_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698