| 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 8ce824a6078aabd12fe329edb97a093d030b779d..0000000000000000000000000000000000000000
|
| --- a/components/sync_driver/ui_model_type_controller.cc
|
| +++ /dev/null
|
| @@ -1,42 +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 sync_driver_v2 {
|
| -
|
| -using sync_driver::SyncClient;
|
| -
|
| -UIModelTypeController::UIModelTypeController(
|
| - 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) {}
|
| -
|
| -UIModelTypeController::~UIModelTypeController() {}
|
| -
|
| -bool UIModelTypeController::RunOnModelThread(
|
| - const tracked_objects::Location& from_here,
|
| - const base::Closure& task) {
|
| - RunOnUIThread(from_here, task);
|
| - return true;
|
| -}
|
| -
|
| -void UIModelTypeController::RunOnUIThread(
|
| - const tracked_objects::Location& from_here,
|
| - const base::Closure& task) {
|
| - DCHECK(BelongsToUIThread());
|
| - task.Run();
|
| -}
|
| -
|
| -} // namespace sync_driver_v2
|
|
|