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

Unified Diff: components/sync/core_impl/model_type_connector_proxy.cc

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. 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/core_impl/model_type_connector_proxy.cc
diff --git a/components/sync/core_impl/model_type_connector_proxy.cc b/components/sync/core_impl/model_type_connector_proxy.cc
deleted file mode 100644
index 23f95a887fa4c6e22e93dd0cc91350d07a92d669..0000000000000000000000000000000000000000
--- a/components/sync/core_impl/model_type_connector_proxy.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 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/core_impl/model_type_connector_proxy.h"
-
-#include "base/bind.h"
-#include "base/location.h"
-#include "base/single_thread_task_runner.h"
-#include "components/sync/core/activation_context.h"
-
-namespace syncer {
-
-ModelTypeConnectorProxy::ModelTypeConnectorProxy(
- const scoped_refptr<base::SequencedTaskRunner>& task_runner,
- const base::WeakPtr<ModelTypeConnector>& model_type_connector)
- : task_runner_(task_runner), model_type_connector_(model_type_connector) {}
-
-ModelTypeConnectorProxy::~ModelTypeConnectorProxy() {}
-
-void ModelTypeConnectorProxy::ConnectType(
- ModelType type,
- std::unique_ptr<ActivationContext> activation_context) {
- task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&ModelTypeConnector::ConnectType, model_type_connector_, type,
- base::Passed(&activation_context)));
-}
-
-void ModelTypeConnectorProxy::DisconnectType(ModelType type) {
- task_runner_->PostTask(FROM_HERE,
- base::Bind(&ModelTypeConnector::DisconnectType,
- model_type_connector_, type));
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/core_impl/model_type_connector_proxy.h ('k') | components/sync/core_impl/protocol_event_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698