Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: components/sync/engine_impl/commit_queue.h

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_ENGINE_COMMIT_QUEUE_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_
6 #define SYNC_ENGINE_COMMIT_QUEUE_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_
7 7
8 #include "sync/internal_api/public/non_blocking_sync_common.h" 8 #include "components/sync/core/non_blocking_sync_common.h"
9 9
10 namespace syncer_v2 { 10 namespace syncer_v2 {
11 11
12 // Interface used by a synced data type to issue requests to the sync backend. 12 // Interface used by a synced data type to issue requests to the sync backend.
13 class SYNC_EXPORT CommitQueue { 13 class SYNC_EXPORT CommitQueue {
14 public: 14 public:
15 CommitQueue(); 15 CommitQueue();
16 virtual ~CommitQueue(); 16 virtual ~CommitQueue();
17 17
18 // Entry point for the ModelTypeProcessor to send commit requests. 18 // Entry point for the ModelTypeProcessor to send commit requests.
19 virtual void EnqueueForCommit(const CommitRequestDataList& list) = 0; 19 virtual void EnqueueForCommit(const CommitRequestDataList& list) = 0;
20 }; 20 };
21 21
22 } // namespace syncer_v2 22 } // namespace syncer_v2
23 23
24 #endif // SYNC_ENGINE_COMMIT_QUEUE_H_ 24 #endif // COMPONENTS_SYNC_ENGINE_IMPL_COMMIT_QUEUE_H_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/commit_processor.cc ('k') | components/sync/engine_impl/commit_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698