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

Unified Diff: sync/engine/syncer_unittest.cc

Issue 503903002: Remove implicit conversions from scoped_refptr to T* in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « sync/api/attachments/attachment.cc ('k') | sync/internal_api/attachments/attachment_downloader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/syncer_unittest.cc
diff --git a/sync/engine/syncer_unittest.cc b/sync/engine/syncer_unittest.cc
index 77bc288d4c97da750c80ee407d87c74b37f3c487..9995c1a8e0c67c77717768648e13a6a62036b813 100644
--- a/sync/engine/syncer_unittest.cc
+++ b/sync/engine/syncer_unittest.cc
@@ -306,15 +306,16 @@ class SyncerTest : public testing::Test,
model_type_registry_->RegisterDirectoryTypeDebugInfoObserver(
&debug_info_cache_);
- context_.reset(
- new SyncSessionContext(
- mock_server_.get(), directory(),
- extensions_activity_,
- listeners, debug_info_getter_.get(),
- model_type_registry_.get(),
- true, // enable keystore encryption
- false, // force enable pre-commit GU avoidance experiment
- "fake_invalidator_client_id"));
+ context_.reset(new SyncSessionContext(
+ mock_server_.get(),
+ directory(),
+ extensions_activity_.get(),
+ listeners,
+ debug_info_getter_.get(),
+ model_type_registry_.get(),
+ true, // enable keystore encryption
+ false, // force enable pre-commit GU avoidance experiment
+ "fake_invalidator_client_id"));
context_->SetRoutingInfo(routing_info);
syncer_ = new Syncer(&cancelation_signal_);
« no previous file with comments | « sync/api/attachments/attachment.cc ('k') | sync/internal_api/attachments/attachment_downloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698