| Index: sync/engine/model_type_sync_worker.h
|
| diff --git a/sync/engine/model_type_sync_worker.h b/sync/engine/model_type_sync_worker.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9add845bffa3e3a66dfae1993ee0cd3a7d58b7cf
|
| --- /dev/null
|
| +++ b/sync/engine/model_type_sync_worker.h
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +#ifndef SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
|
| +#define SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
|
| +
|
| +#include "sync/engine/non_blocking_sync_common.h"
|
| +
|
| +namespace syncer {
|
| +
|
| +// Interface used by a synced data type to issue requests to the sync backend.
|
| +class SYNC_EXPORT_PRIVATE ModelTypeSyncWorker {
|
| + public:
|
| + ModelTypeSyncWorker();
|
| + virtual ~ModelTypeSyncWorker();
|
| +
|
| + virtual void RequestCommits(const CommitRequestDataList& list) = 0;
|
| +};
|
| +
|
| +} // namespace syncer
|
| +
|
| +#endif // SYNC_ENGINE_MODEL_TYPE_SYNC_WORKER_H_
|
|
|