| Index: sync/internal_api/model_type_connector_proxy.cc
|
| diff --git a/sync/internal_api/model_type_connector_proxy.cc b/sync/internal_api/model_type_connector_proxy.cc
|
| deleted file mode 100644
|
| index 3b0182df07a2a45995fd59bedd66a9be284a7b98..0000000000000000000000000000000000000000
|
| --- a/sync/internal_api/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 "sync/internal_api/model_type_connector_proxy.h"
|
| -
|
| -#include "base/bind.h"
|
| -#include "base/location.h"
|
| -#include "base/single_thread_task_runner.h"
|
| -#include "sync/internal_api/public/activation_context.h"
|
| -
|
| -namespace syncer_v2 {
|
| -
|
| -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(
|
| - syncer::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(syncer::ModelType type) {
|
| - task_runner_->PostTask(FROM_HERE,
|
| - base::Bind(&ModelTypeConnector::DisconnectType,
|
| - model_type_connector_, type));
|
| -}
|
| -
|
| -} // namespace syncer_v2
|
|
|