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

Unified Diff: chrome/browser/sync/profile_sync_service_unittest.cc

Issue 1422773004: [sync] Abstract most ProfileSyncService //chrome deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pss_chrome_signin_deps
Patch Set: Response to review Created 5 years, 1 month 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/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));
}

Powered by Google App Engine
This is Rietveld 408576698