| OLD | NEW |
| (Empty) |
| 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 COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_ | |
| 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_ | |
| 7 | |
| 8 #include "components/sync/core/non_blocking_sync_common.h" | |
| 9 | |
| 10 namespace syncer_v2 { | |
| 11 | |
| 12 // Interface used by a synced data type to issue requests to the sync backend. | |
| 13 class CommitQueue { | |
| 14 public: | |
| 15 CommitQueue(); | |
| 16 virtual ~CommitQueue(); | |
| 17 | |
| 18 // Entry point for the ModelTypeProcessor to send commit requests. | |
| 19 virtual void EnqueueForCommit(const CommitRequestDataList& list) = 0; | |
| 20 }; | |
| 21 | |
| 22 } // namespace syncer_v2 | |
| 23 | |
| 24 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_ | |
| OLD | NEW |