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

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

Issue 334713008: Use AttachmentUploadImpl instead of FakeAttachmentUploader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Back to public; needed for tests. 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/test_profile_sync_service.cc
diff --git a/chrome/browser/sync/test_profile_sync_service.cc b/chrome/browser/sync/test_profile_sync_service.cc
index 3ea90557a47e3847a48cdcd2e60217f7e8042794..17eceb45908680e27957e0842019577f955b8d1d 100644
--- a/chrome/browser/sync/test_profile_sync_service.cc
+++ b/chrome/browser/sync/test_profile_sync_service.cc
@@ -106,11 +106,12 @@ TestProfileSyncService::TestProfileSyncService(
SigninManagerBase* signin,
ProfileOAuth2TokenService* oauth2_token_service,
browser_sync::ProfileSyncServiceStartBehavior behavior)
- : ProfileSyncService(factory,
- profile,
- new ManagedUserSigninManagerWrapper(profile, signin),
- oauth2_token_service,
- behavior) {
+ : ProfileSyncService(
+ factory,
+ profile,
+ make_scoped_ptr(new ManagedUserSigninManagerWrapper(profile, signin)),
+ oauth2_token_service,
+ behavior) {
SetSyncSetupCompleted();
}

Powered by Google App Engine
This is Rietveld 408576698