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

Unified Diff: chrome/browser/sync/abstract_profile_sync_service_test.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/abstract_profile_sync_service_test.h
===================================================================
--- chrome/browser/sync/abstract_profile_sync_service_test.h (revision 58702)
+++ chrome/browser/sync/abstract_profile_sync_service_test.h (working copy)
@@ -12,6 +12,7 @@
#include "base/scoped_ptr.h"
#include "base/task.h"
#include "chrome/browser/chrome_thread.h"
+#include "chrome/browser/net/gaia/token_service.h"
#include "chrome/browser/sync/engine/syncapi.h"
#include "chrome/browser/sync/glue/autofill_model_associator.h"
#include "chrome/browser/sync/glue/password_model_associator.h"
@@ -55,7 +56,7 @@
UserShare* user_share = service->backend()->GetUserShareHandle();
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())
return false;
@@ -120,6 +121,7 @@
MessageLoopForUI message_loop_;
ChromeThread ui_thread_;
ProfileSyncFactoryMock factory_;
+ TokenService token_service_;
scoped_ptr<TestProfileSyncService> service_;
TestIdFactory ids_;
};

Powered by Google App Engine
This is Rietveld 408576698