OLD | NEW |
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 COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ |
6 #define COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "components/sync/core/base_transaction.h" | |
14 #include "components/sync/core/change_record.h" | |
15 #include "components/sync/core/user_share.h" | |
16 #include "components/sync/model/data_type_error_handler.h" | 13 #include "components/sync/model/data_type_error_handler.h" |
| 14 #include "components/sync/syncable/base_transaction.h" |
| 15 #include "components/sync/syncable/change_record.h" |
| 16 #include "components/sync/syncable/user_share.h" |
17 | 17 |
18 namespace syncer { | 18 namespace syncer { |
19 | 19 |
20 class ModelAssociator; | 20 class ModelAssociator; |
21 class UnrecoverableErrorHandler; | 21 class UnrecoverableErrorHandler; |
22 | 22 |
23 // An interface used to apply changes from the sync model to the browser's | 23 // An interface used to apply changes from the sync model to the browser's |
24 // native model. This does not currently distinguish between model data types. | 24 // native model. This does not currently distinguish between model data types. |
25 class ChangeProcessor { | 25 class ChangeProcessor { |
26 public: | 26 public: |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 // The sync model we are processing changes from. | 64 // The sync model we are processing changes from. |
65 UserShare* share_handle_; | 65 UserShare* share_handle_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(ChangeProcessor); | 67 DISALLOW_COPY_AND_ASSIGN(ChangeProcessor); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace syncer | 70 } // namespace syncer |
71 | 71 |
72 #endif // COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ | 72 #endif // COMPONENTS_SYNC_DRIVER_CHANGE_PROCESSOR_H_ |
OLD | NEW |