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

Unified Diff: components/sync_driver/non_ui_model_type_controller.cc

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. 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/non_ui_model_type_controller.cc
diff --git a/components/sync_driver/non_ui_model_type_controller.cc b/components/sync_driver/non_ui_model_type_controller.cc
deleted file mode 100644
index 7f0a84ccf822c74e034c8fc1f1e494fa05d5aa14..0000000000000000000000000000000000000000
--- a/components/sync_driver/non_ui_model_type_controller.cc
+++ /dev/null
@@ -1,35 +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/non_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 sync_driver_v2 {
-
-using sync_driver::SyncClient;
-
-NonUIModelTypeController::NonUIModelTypeController(
- const scoped_refptr<base::SingleThreadTaskRunner>& ui_thread,
- const base::Closure& error_callback,
- syncer::ModelType model_type,
- SyncClient* sync_client)
- : NonBlockingDataTypeController(ui_thread,
- error_callback,
- model_type,
- sync_client) {}
-
-NonUIModelTypeController::~NonUIModelTypeController() {}
-
-void NonUIModelTypeController::RunOnUIThread(
- const tracked_objects::Location& from_here,
- const base::Closure& task) {
- DCHECK(!BelongsToUIThread());
- ui_thread()->PostTask(from_here, task);
-}
-
-} // namespace sync_driver_v2
« no previous file with comments | « components/sync_driver/non_ui_model_type_controller.h ('k') | components/sync_driver/non_ui_model_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698