Index: chrome/browser/sync/profile_sync_service_unittest.cc |
diff --git a/chrome/browser/sync/profile_sync_service_unittest.cc b/chrome/browser/sync/profile_sync_service_unittest.cc |
index 11819947596cc399725e111830f7eb6ceb4e9eef..c8d147aaca92e7f2eb8765b9ae1d54d8772b0765 100644 |
--- a/chrome/browser/sync/profile_sync_service_unittest.cc |
+++ b/chrome/browser/sync/profile_sync_service_unittest.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/sync/glue/sync_backend_host_mock.h" |
#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/sync/profile_sync_test_util.h" |
+#include "chrome/common/channel_info.h" |
#include "chrome/common/chrome_switches.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/grit/generated_resources.h" |
@@ -309,7 +310,14 @@ class ProfileSyncServiceTest : public ::testing::Test { |
service_.reset(new ProfileSyncService( |
sync_client.Pass(), profile_, |
make_scoped_ptr(new SigninManagerWrapper(signin)), oauth2_token_service, |
- behavior, base::Bind(&EmptyNetworkTimeUpdate))); |
+ behavior, base::Bind(&EmptyNetworkTimeUpdate), profile_->GetPath(), |
+ profile_->GetRequestContext(), profile_->GetDebugName(), |
+ chrome::GetChannel(), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::DB), |
+ content::BrowserThread::GetMessageLoopProxyForThread( |
+ content::BrowserThread::FILE), |
+ content::BrowserThread::GetBlockingPool())); |
service_->RegisterDataTypeController( |
new sync_driver::FakeDataTypeController(syncer::BOOKMARKS)); |
} |