OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_API_SYNC_CHANGE_PROCESSOR_H_ | 5 #ifndef SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
6 #define SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 6 #define SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "sync/api/sync_error.h" | 10 #include "sync/api/sync_error.h" |
12 | 11 |
13 namespace tracked_objects { | 12 namespace tracked_objects { |
14 class Location; | 13 class Location; |
15 } // namespace tracked_objects | 14 } // namespace tracked_objects |
16 | 15 |
17 namespace syncer { | 16 namespace syncer { |
(...skipping 16 matching lines...) Expand all Loading... |
34 // |from_here|: allows tracking of where sync changes originate. | 33 // |from_here|: allows tracking of where sync changes originate. |
35 // |change_list|: is the list of sync changes in need of processing. | 34 // |change_list|: is the list of sync changes in need of processing. |
36 virtual SyncError ProcessSyncChanges( | 35 virtual SyncError ProcessSyncChanges( |
37 const tracked_objects::Location& from_here, | 36 const tracked_objects::Location& from_here, |
38 const SyncChangeList& change_list) = 0; | 37 const SyncChangeList& change_list) = 0; |
39 }; | 38 }; |
40 | 39 |
41 } // namespace syncer | 40 } // namespace syncer |
42 | 41 |
43 #endif // SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 42 #endif // SYNC_API_SYNC_CHANGE_PROCESSOR_H_ |
OLD | NEW |