Index: trunk/src/chrome/browser/sync/profile_sync_service_session_unittest.cc |
=================================================================== |
--- trunk/src/chrome/browser/sync/profile_sync_service_session_unittest.cc (revision 238367) |
+++ trunk/src/chrome/browser/sync/profile_sync_service_session_unittest.cc (working copy) |
@@ -19,8 +19,6 @@ |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/invalidation/invalidation_service_factory.h" |
#include "chrome/browser/sessions/session_tab_helper.h" |
-#include "chrome/browser/signin/profile_oauth2_token_service.h" |
-#include "chrome/browser/signin/profile_oauth2_token_service_factory.h" |
#include "chrome/browser/signin/signin_manager.h" |
#include "chrome/browser/signin/signin_manager_factory.h" |
#include "chrome/browser/sync/abstract_profile_sync_service_test.h" |
@@ -86,12 +84,14 @@ |
Profile* profile, |
SigninManagerBase* signin, |
ProfileOAuth2TokenService* oauth2_token_service, |
- ProfileSyncService::StartBehavior behavior) |
+ ProfileSyncService::StartBehavior behavior, |
+ bool synchronous_backend_initialization) |
: TestProfileSyncService(factory, |
profile, |
signin, |
oauth2_token_service, |
- behavior) {} |
+ behavior, |
+ synchronous_backend_initialization) {} |
virtual ~FakeProfileSyncService() {} |
virtual scoped_ptr<DeviceInfo> GetLocalDeviceInfo() const OVERRIDE { |
@@ -198,7 +198,8 @@ |
profile(), |
signin, |
oauth2_token_service, |
- ProfileSyncService::AUTO_START)); |
+ ProfileSyncService::AUTO_START, |
+ false)); |
sync_service_->set_backend_init_callback(callback); |
// Register the session data type. |