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

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

Issue 3305003: New authorization framework for sync. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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.h
===================================================================
--- chrome/browser/sync/test_profile_sync_service.h (revision 58702)
+++ chrome/browser/sync/test_profile_sync_service.h (working copy)
@@ -100,7 +100,7 @@
UserShare* user_share = core_->syncapi()->GetUserShare();
DirectoryManager* dir_manager = user_share->dir_manager.get();
- ScopedDirLookup dir(dir_manager, user_share->authenticated_name);
+ ScopedDirLookup dir(dir_manager, user_share->name);
if (!dir.good())
FAIL();
@@ -154,7 +154,6 @@
&SyncBackendHost::Core::DoInitializeForTest,
user,
options.http_bridge_factory,
- options.auth_http_bridge_factory,
options.delete_sync_data_folder,
browser_sync::kDefaultNotificationMethod));
@@ -186,10 +185,12 @@
public:
TestProfileSyncService(ProfileSyncFactory* factory,
Profile* profile,
- bool bootstrap_sync_authentication,
+ const std::string& test_user,
bool synchronous_backend_initialization,
Task* initial_condition_setup_task)
- : ProfileSyncService(factory, profile, bootstrap_sync_authentication),
+ : ProfileSyncService(factory, profile,
+ !test_user.empty() ?
+ test_user : ""),
synchronous_backend_initialization_(
synchronous_backend_initialization),
synchronous_sync_configuration_(false),

Powered by Google App Engine
This is Rietveld 408576698