OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_SYNC_CHANGE_PROCESSOR_H_ |
6 #define COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_MODEL_SYNC_CHANGE_PROCESSOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "components/sync/api/sync_data.h" | |
12 #include "components/sync/api/sync_error.h" | |
13 #include "components/sync/base/model_type.h" | 11 #include "components/sync/base/model_type.h" |
| 12 #include "components/sync/model/sync_data.h" |
| 13 #include "components/sync/model/sync_error.h" |
14 | 14 |
15 namespace tracked_objects { | 15 namespace tracked_objects { |
16 class Location; | 16 class Location; |
17 } // namespace tracked_objects | 17 } // namespace tracked_objects |
18 | 18 |
19 namespace syncer { | 19 namespace syncer { |
20 | 20 |
21 class SyncChange; | 21 class SyncChange; |
22 | 22 |
23 class LocalChangeObserver; | 23 class LocalChangeObserver; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // Adds an observer of local sync changes. This observer is notified when | 80 // Adds an observer of local sync changes. This observer is notified when |
81 // local sync changes are applied by GenericChangeProcessor. observer is | 81 // local sync changes are applied by GenericChangeProcessor. observer is |
82 // not owned by the SyncChangeProcessor. | 82 // not owned by the SyncChangeProcessor. |
83 virtual void AddLocalChangeObserver(LocalChangeObserver* observer); | 83 virtual void AddLocalChangeObserver(LocalChangeObserver* observer); |
84 virtual void RemoveLocalChangeObserver(LocalChangeObserver* observer); | 84 virtual void RemoveLocalChangeObserver(LocalChangeObserver* observer); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace syncer | 87 } // namespace syncer |
88 | 88 |
89 #endif // COMPONENTS_SYNC_API_SYNC_CHANGE_PROCESSOR_H_ | 89 #endif // COMPONENTS_SYNC_MODEL_SYNC_CHANGE_PROCESSOR_H_ |
OLD | NEW |