Index: chrome/browser/sync/profile_sync_service_session_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
index 04ae92a9b76d033b6e3c823f329ba0c64ac2d03c..ba4dccb90bf146a021999499ef975809ca45d334 100644 |
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc |
@@ -19,6 +19,8 @@ |
#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" |
@@ -84,14 +86,12 @@ class FakeProfileSyncService : public TestProfileSyncService { |
Profile* profile, |
SigninManagerBase* signin, |
ProfileOAuth2TokenService* oauth2_token_service, |
- ProfileSyncService::StartBehavior behavior, |
- bool synchronous_backend_initialization) |
+ ProfileSyncService::StartBehavior behavior) |
: TestProfileSyncService(factory, |
profile, |
signin, |
oauth2_token_service, |
- behavior, |
- synchronous_backend_initialization) {} |
+ behavior) {} |
virtual ~FakeProfileSyncService() {} |
virtual scoped_ptr<DeviceInfo> GetLocalDeviceInfo() const OVERRIDE { |
@@ -198,8 +198,7 @@ class ProfileSyncServiceSessionTest |
profile(), |
signin, |
oauth2_token_service, |
- ProfileSyncService::AUTO_START, |
- false)); |
+ ProfileSyncService::AUTO_START)); |
sync_service_->set_backend_init_callback(callback); |
// Register the session data type. |