Index: sync/engine/non_blocking_type_processor_interface.h |
diff --git a/sync/engine/non_blocking_type_processor_interface.h b/sync/engine/non_blocking_type_processor_interface.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ccc504bd204c24c34ba47c93e18a2916f93b992d |
--- /dev/null |
+++ b/sync/engine/non_blocking_type_processor_interface.h |
@@ -0,0 +1,31 @@ |
+// 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_NON_BLOCKING_TYPE_PROCESSOR_INTERFACE_H_ |
+#define SYNC_ENGINE_NON_BLOCKING_TYPE_PROCESSOR_INTERFACE_H_ |
+ |
+#include "sync/base/sync_export.h" |
+ |
+struct CommitResponseDataList; |
+struct DataTypeState; |
+struct UpdateResponseDataList; |
+ |
+namespace syncer { |
+ |
+class SYNC_EXPORT_PRIVATE NonBlockingTypeProcessorInterface { |
+ public: |
+ NonBlockingTypeProcessorInterface(); |
+ virtual ~NonBlockingTypeProcessorInterface(); |
+ |
+ virtual void ReceiveCommitResponse( |
+ const DataTypeState& type_state, |
+ const CommitResponseDataList& response_list) = 0; |
+ virtual void ReceiveUpdateResponse( |
+ const DataTypeState& type_state, |
+ const UpdateResponseDataList& response_list) = 0; |
+}; |
+ |
+} // namespace syncer |
+ |
+#endif // SYNC_ENGINE_NON_BLOCKING_TYPE_PROCESSOR_INTERFACE_H_ |