chromium/components/sync/engine/data_type_connector_proxy.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_SYNC_ENGINE_DATA_TYPE_CONNECTOR_PROXY_H_
#define COMPONENTS_SYNC_ENGINE_DATA_TYPE_CONNECTOR_PROXY_H_

#include <memory>

#include "base/memory/weak_ptr.h"
#include "base/task/sequenced_task_runner.h"
#include "components/sync/base/data_type.h"
#include "components/sync/engine/data_type_connector.h"

namespace syncer {

// Proxies all DataTypeConnector calls to another thread. Typically used by
// the SyncBackend to call from the UI thread to the real DataTypeConnector on
// the sync thread.
class DataTypeConnectorProxy : public DataTypeConnector {};

}  // namespace syncer

#endif  // COMPONENTS_SYNC_ENGINE_DATA_TYPE_CONNECTOR_PROXY_H_