| 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_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_H_ |
| 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_H_ | 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 18 #include "base/synchronization/lock.h" | 18 #include "base/synchronization/lock.h" |
| 19 #include "base/synchronization/waitable_event.h" | 19 #include "base/synchronization/waitable_event.h" |
| 20 #include "components/bookmarks/core/browser/bookmark_client.h" | 20 #include "components/bookmarks/browser/bookmark_client.h" |
| 21 #include "components/bookmarks/core/browser/bookmark_node.h" | 21 #include "components/bookmarks/browser/bookmark_node.h" |
| 22 #include "components/bookmarks/core/browser/bookmark_service.h" | 22 #include "components/bookmarks/browser/bookmark_service.h" |
| 23 #include "ui/gfx/image/image.h" | 23 #include "ui/gfx/image/image.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 class BookmarkExpandedStateTracker; | 26 class BookmarkExpandedStateTracker; |
| 27 class BookmarkIndex; | 27 class BookmarkIndex; |
| 28 class BookmarkLoadDetails; | 28 class BookmarkLoadDetails; |
| 29 class BookmarkModelObserver; | 29 class BookmarkModelObserver; |
| 30 class BookmarkStorage; | 30 class BookmarkStorage; |
| 31 struct BookmarkMatch; | 31 struct BookmarkMatch; |
| 32 class PrefService; | 32 class PrefService; |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 base::WaitableEvent loaded_signal_; | 409 base::WaitableEvent loaded_signal_; |
| 410 | 410 |
| 411 // See description of IsDoingExtensiveChanges above. | 411 // See description of IsDoingExtensiveChanges above. |
| 412 int extensive_changes_; | 412 int extensive_changes_; |
| 413 | 413 |
| 414 scoped_ptr<BookmarkExpandedStateTracker> expanded_state_tracker_; | 414 scoped_ptr<BookmarkExpandedStateTracker> expanded_state_tracker_; |
| 415 | 415 |
| 416 DISALLOW_COPY_AND_ASSIGN(BookmarkModel); | 416 DISALLOW_COPY_AND_ASSIGN(BookmarkModel); |
| 417 }; | 417 }; |
| 418 | 418 |
| 419 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_MODEL_H_ | 419 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_H_ |
| OLD | NEW |