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 <vector> | 11 #include <vector> |
11 | 12 |
12 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
15 #include "components/bookmarks/browser/bookmark_model_observer.h" | 16 #include "components/bookmarks/browser/bookmark_model_observer.h" |
16 #include "components/bookmarks/browser/bookmark_node.h" | 17 #include "components/bookmarks/browser/bookmark_node.h" |
17 #include "components/sync_bookmarks/bookmark_model_associator.h" | 18 #include "components/sync_bookmarks/bookmark_model_associator.h" |
18 #include "components/sync_driver/change_processor.h" | 19 #include "components/sync_driver/change_processor.h" |
19 #include "components/sync_driver/data_type_error_handler.h" | 20 #include "components/sync_driver/data_type_error_handler.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 | 254 |
254 // The two models should be associated according to this ModelAssociator. | 255 // The two models should be associated according to this ModelAssociator. |
255 BookmarkModelAssociator* model_associator_; | 256 BookmarkModelAssociator* model_associator_; |
256 | 257 |
257 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); | 258 DISALLOW_COPY_AND_ASSIGN(BookmarkChangeProcessor); |
258 }; | 259 }; |
259 | 260 |
260 } // namespace browser_sync | 261 } // namespace browser_sync |
261 | 262 |
262 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ | 263 #endif // COMPONENTS_SYNC_BOOKMARKS_BOOKMARK_CHANGE_PROCESSOR_H_ |
OLD | NEW |