| 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_BOOKMARKS_BOOKMARK_MODEL_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ |
| 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "base/string16.h" | 16 #include "base/string16.h" |
| 17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
| 18 #include "base/synchronization/waitable_event.h" | 18 #include "base/synchronization/waitable_event.h" |
| 19 #include "chrome/browser/api/bookmarks/bookmark_service.h" | 19 #include "chrome/browser/api/bookmarks/bookmark_service.h" |
| 20 #include "chrome/browser/cancelable_request.h" | 20 #include "chrome/browser/common/cancelable_request.h" |
| 21 #include "chrome/browser/favicon/favicon_service.h" | 21 #include "chrome/browser/favicon/favicon_service.h" |
| 22 #include "chrome/browser/history/history.h" | 22 #include "chrome/browser/history/history.h" |
| 23 #include "chrome/browser/profiles/profile_keyed_service.h" | 23 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 24 #include "content/public/browser/notification_registrar.h" | 24 #include "content/public/browser/notification_registrar.h" |
| 25 #include "googleurl/src/gurl.h" | 25 #include "googleurl/src/gurl.h" |
| 26 #include "ui/base/models/tree_node_model.h" | 26 #include "ui/base/models/tree_node_model.h" |
| 27 #include "ui/gfx/image/image.h" | 27 #include "ui/gfx/image/image.h" |
| 28 | 28 |
| 29 class BookmarkExpandedStateTracker; | 29 class BookmarkExpandedStateTracker; |
| 30 class BookmarkIndex; | 30 class BookmarkIndex; |
| (...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 | 488 |
| 489 // See description of IsDoingExtensiveChanges above. | 489 // See description of IsDoingExtensiveChanges above. |
| 490 int extensive_changes_; | 490 int extensive_changes_; |
| 491 | 491 |
| 492 scoped_ptr<BookmarkExpandedStateTracker> expanded_state_tracker_; | 492 scoped_ptr<BookmarkExpandedStateTracker> expanded_state_tracker_; |
| 493 | 493 |
| 494 DISALLOW_COPY_AND_ASSIGN(BookmarkModel); | 494 DISALLOW_COPY_AND_ASSIGN(BookmarkModel); |
| 495 }; | 495 }; |
| 496 | 496 |
| 497 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ | 497 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ |
| OLD | NEW |