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

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

Issue 2384153004: [Sync] Merge NBDTC and subclasses into ModelTypeController. (Closed)
Patch Set: Fix bad rebase. Created 4 years, 2 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.cc
diff --git a/components/sync/driver/ui_model_type_controller.cc b/components/sync/driver/ui_model_type_controller.cc
deleted file mode 100644
index fcae6fcbaa3e03910dea789ee6ac80608064ed77..0000000000000000000000000000000000000000
--- a/components/sync/driver/ui_model_type_controller.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/sync/driver/ui_model_type_controller.h"
-
-#include "components/sync/api/model_type_service.h"
-#include "components/sync/base/model_type.h"
-#include "components/sync/core/activation_context.h"
-#include "components/sync/driver/sync_client.h"
-
-namespace syncer {
-
-UIModelTypeController::UIModelTypeController(ModelType type,
- const base::Closure& dump_stack,
- SyncClient* sync_client)
- : NonBlockingDataTypeController(type, dump_stack, sync_client) {}
-
-UIModelTypeController::~UIModelTypeController() {}
-
-bool UIModelTypeController::RunOnModelThread(
- const tracked_objects::Location& from_here,
- const base::Closure& task) {
- DCHECK(CalledOnValidThread());
- task.Run();
- return true;
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/driver/ui_model_type_controller.h ('k') | components/sync/driver/ui_model_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698