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 CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <stack> | 10 #include <stack> |
11 #include <string> | 11 #include <string> |
| 12 #include <vector> |
12 | 13 |
13 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
15 #include "base/hash.h" | 16 #include "base/hash.h" |
16 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
17 #include "components/sync_driver/data_type_controller.h" | |
18 #include "components/sync_driver/data_type_error_handler.h" | 18 #include "components/sync_driver/data_type_error_handler.h" |
19 #include "components/sync_driver/model_associator.h" | 19 #include "components/sync_driver/model_associator.h" |
20 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" | 20 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
21 | 21 |
22 class Profile; | 22 class Profile; |
23 class GURL; | 23 class GURL; |
24 | 24 |
25 namespace bookmarks { | 25 namespace bookmarks { |
26 class BookmarkModel; | 26 class BookmarkModel; |
27 class BookmarkNode; | 27 class BookmarkNode; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 // guarantees no invocations can occur if |this| has been deleted. (This | 314 // guarantees no invocations can occur if |this| has been deleted. (This |
315 // allows this class to be non-refcounted). | 315 // allows this class to be non-refcounted). |
316 base::WeakPtrFactory<BookmarkModelAssociator> weak_factory_; | 316 base::WeakPtrFactory<BookmarkModelAssociator> weak_factory_; |
317 | 317 |
318 DISALLOW_COPY_AND_ASSIGN(BookmarkModelAssociator); | 318 DISALLOW_COPY_AND_ASSIGN(BookmarkModelAssociator); |
319 }; | 319 }; |
320 | 320 |
321 } // namespace browser_sync | 321 } // namespace browser_sync |
322 | 322 |
323 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ | 323 #endif // CHROME_BROWSER_SYNC_GLUE_BOOKMARK_MODEL_ASSOCIATOR_H_ |
OLD | NEW |