chromium/components/sync/engine/data_type_connector.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_H_
#define COMPONENTS_SYNC_ENGINE_DATA_TYPE_CONNECTOR_H_

#include <memory>

#include "components/sync/base/data_type.h"

namespace syncer {

struct DataTypeActivationResponse;

// An interface into the core parts of sync for data types. By adding/removing
// types through methods of this interface, consumers control which types will
// be syncing (receiving updates and committing local changes).
// In addition it handles creating the connection between the DataTypeWorker
// (CommitQueue) on the sync side and the DataTypeProcessor on the data type
// side.
// The real implementation (DataTypeRegistry) lives on the sync sequence, but
// there's a proxy object on the UI thread for use by the SyncEngine.
class DataTypeConnector {};

}  // namespace syncer

#endif  // COMPONENTS_SYNC_ENGINE_DATA_TYPE_CONNECTOR_H_