1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef SYNC_ENGINE_NON_BLOCKING_TYPE_CORE_INTERFACE_H_
6#define SYNC_ENGINE_NON_BLOCKING_TYPE_CORE_INTERFACE_H_
7
8#include "sync/engine/non_blocking_sync_common.h"
9
10namespace syncer {
11
12// An interface representing a NonBlockingTypeProcessorCore and its thread.
13// This abstraction is useful in tests.
14class SYNC_EXPORT_PRIVATE NonBlockingTypeProcessorCoreInterface {
15 public:
16  NonBlockingTypeProcessorCoreInterface();
17  virtual ~NonBlockingTypeProcessorCoreInterface();
18
19  virtual void RequestCommits(const CommitRequestDataList& list) = 0;
20};
21
22}  // namespace syncer
23
24#endif  // SYNC_ENGINE_NON_BLOCKING_TYPE_CORE_INTERFACE_H_
25