| 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_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 11 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
| 11 | 12 |
| 12 class PrefService; | 13 class PrefService; |
| 13 | 14 |
| 14 namespace bookmarks { | 15 namespace bookmarks { |
| 15 | 16 |
| 16 class BookmarkModel; | 17 class BookmarkModel; |
| 17 class BookmarkNode; | 18 class BookmarkNode; |
| 18 | 19 |
| 19 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The | 20 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 | 51 |
| 51 BookmarkModel* bookmark_model_; | 52 BookmarkModel* bookmark_model_; |
| 52 PrefService* pref_service_; | 53 PrefService* pref_service_; |
| 53 | 54 |
| 54 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); | 55 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); |
| 55 }; | 56 }; |
| 56 | 57 |
| 57 } // namespace bookmarks | 58 } // namespace bookmarks |
| 58 | 59 |
| 59 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 60 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| OLD | NEW |