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

Unified Diff: sync/internal_api/syncapi_unittest.cc

Issue 10701085: Revert "Revert 142517 - [Sync] Refactor sync configuration logic." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile/test Created 8 years, 6 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: sync/internal_api/syncapi_unittest.cc
diff --git a/sync/internal_api/syncapi_unittest.cc b/sync/internal_api/syncapi_unittest.cc
index 0ae11dc37b8a99cfc3a47e06794a2b09056b40f0..34acd8ef9d6e4903cb40769342788ed14ad49c4a 100644
--- a/sync/internal_api/syncapi_unittest.cc
+++ b/sync/internal_api/syncapi_unittest.cc
@@ -768,10 +768,13 @@ class SyncManagerTest : public testing::Test,
WeakHandle<JsEventHandler>(),
"bogus", 0, false,
base::MessageLoopProxy::current(),
- new TestHttpPostProviderFactory(), routing_info, workers,
+ scoped_ptr<HttpPostProviderFactory>(
+ new TestHttpPostProviderFactory()),
+ routing_info, workers,
&extensions_activity_monitor_, this,
credentials,
- sync_notifier_mock_, "",
+ scoped_ptr<SyncNotifier>(sync_notifier_mock_),
+ "",
syncer::SyncManager::TEST_IN_MEMORY,
&encryptor_,
&handler_,

Powered by Google App Engine
This is Rietveld 408576698