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 COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ | 5 #ifndef COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ |
6 #define COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ | 6 #define COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
17 #include "components/bookmarks/browser/bookmark_model_observer.h" | 17 #include "components/bookmarks/browser/bookmark_model_observer.h" |
18 #include "components/bookmarks/browser/bookmark_node.h" | 18 #include "components/bookmarks/browser/bookmark_node.h" |
19 #include "components/sync/model/change_processor.h" | 19 #include "components/sync/model/change_processor.h" |
20 #include "components/sync/model/data_type_error_handler.h" | 20 #include "components/sync/model/data_type_error_handler.h" |
21 #include "components/sync_bookmarks/bookmark_model_associator.h" | 21 #include "components/sync_bookmarks/bookmark_model_associator.h" |
22 | 22 |
23 class Profile; | |
24 | |
25 namespace base { | 23 namespace base { |
26 class RefCountedMemory; | 24 class RefCountedMemory; |
27 } // namespace base | 25 } // namespace base |
28 | 26 |
29 namespace syncer { | 27 namespace syncer { |
30 class SyncClient; | 28 class SyncClient; |
31 class WriteNode; | 29 class WriteNode; |
32 class WriteTransaction; | 30 class WriteTransaction; |
33 } // namespace syncer | 31 } // namespace syncer |
34 | 32 |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 249 |
252 // The two models should be associated according to this ModelAssociator. | 250 // The two models should be associated according to this ModelAssociator. |
253 BookmarkModelAssociator* model_associator_; | 251 BookmarkModelAssociator* model_associator_; |
254 | 252 |
255 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); | 253 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); |
256 }; | 254 }; |
257 | 255 |
258 } // namespace sync_bookmarks | 256 } // namespace sync_bookmarks |
259 | 257 |
260 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ | 258 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ |
OLD | NEW |