MSan: remove test specs for defunct "Browser" testers.
[chromium-blink-merge.git] / sync / engine / model_type_sync_proxy.h
blob3c6e079cd299b11a0e17af8be668fd398eb19c5c
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.
5 #ifndef SYNC_ENGINE_MODEL_TYPE_SYNC_PROXY_H_
6 #define SYNC_ENGINE_MODEL_TYPE_SYNC_PROXY_H_
8 #include "sync/base/sync_export.h"
9 #include "sync/internal_api/public/non_blocking_sync_common.h"
11 namespace syncer {
13 // Interface used by sync backend to issue requests to a synced data type.
14 class SYNC_EXPORT_PRIVATE ModelTypeSyncProxy {
15 public:
16 ModelTypeSyncProxy();
17 virtual ~ModelTypeSyncProxy();
19 virtual void OnCommitCompleted(
20 const DataTypeState& type_state,
21 const CommitResponseDataList& response_list) = 0;
22 virtual void OnUpdateReceived(
23 const DataTypeState& type_state,
24 const UpdateResponseDataList& response_list,
25 const UpdateResponseDataList& pending_updates) = 0;
28 } // namespace syncer
30 #endif // SYNC_ENGINE_MODEL_TYPE_SYNC_PROXY_H_