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

Unified Diff: components/sync_driver/non_ui_model_type_controller_unittest.cc

Issue 1763953002: [USS] Change the place where SharedModelTypeProcessor got created (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: components/sync_driver/non_ui_model_type_controller_unittest.cc
diff --git a/components/sync_driver/non_ui_model_type_controller_unittest.cc b/components/sync_driver/non_ui_model_type_controller_unittest.cc
index a309c36a04f34b4ad6f19ab6b1e1b3928be3c6d8..42137d55062fe4367cec46e6c213e1106ffcec7b 100644
--- a/components/sync_driver/non_ui_model_type_controller_unittest.cc
+++ b/components/sync_driver/non_ui_model_type_controller_unittest.cc
@@ -43,8 +43,7 @@ class TestNonUIModelTypeController : public NonUIModelTypeController {
sync_client),
model_task_runner_(model_task_runner) {}
- base::WeakPtr<syncer_v2::SharedModelTypeProcessor> get_type_processor()
- const {
+ syncer_v2::SharedModelTypeProcessor* get_type_processor() const {
return type_processor();
}
@@ -336,7 +335,7 @@ class NonUIModelTypeControllerTest : public testing::Test,
association_callback_called_ = true;
}
- base::WeakPtr<syncer_v2::SharedModelTypeProcessor> type_processor_;
+ syncer_v2::SharedModelTypeProcessor* type_processor_;
scoped_refptr<TestNonUIModelTypeController> controller_;
bool auto_run_tasks_;

Powered by Google App Engine
This is Rietveld 408576698