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

Unified Diff: components/sync/driver/ui_model_type_controller_unittest.cc

Issue 2245073003: [Sync] Clean up intra-sync DEPS significantly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: components/sync/driver/ui_model_type_controller_unittest.cc
diff --git a/components/sync/driver/ui_model_type_controller_unittest.cc b/components/sync/driver/ui_model_type_controller_unittest.cc
index 2a7668f7de8d5437a7137c5ba87f4323b4a42f21..eedab9609702f30f1558511fef51c1ffcf96f2ff 100644
--- a/components/sync/driver/ui_model_type_controller_unittest.cc
+++ b/components/sync/driver/ui_model_type_controller_unittest.cc
@@ -20,7 +20,7 @@
#include "components/sync/core/shared_model_type_processor.h"
#include "components/sync/driver/backend_data_type_configurer.h"
#include "components/sync/driver/fake_sync_client.h"
-#include "components/sync/engine_impl/commit_queue.h"
+#include "components/sync/engine/commit_queue.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace sync_driver_v2 {
@@ -62,8 +62,7 @@ class MockSyncBackend {
syncer::ModelType type,
std::unique_ptr<syncer_v2::ActivationContext> activation_context) {
enabled_types_.Put(type);
- activation_context->type_processor->ConnectSync(
- base::WrapUnique(new NullCommitQueue()));
+ activation_context->type_processor->ConnectSync(nullptr);
}
void Disconnect(syncer::ModelType type) {

Powered by Google App Engine
This is Rietveld 408576698