| 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_EXPANDED_STATE_TRACKER_H_ | 5 #ifndef COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" | 10 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" |
| 11 | 11 |
| 12 class BookmarkModel; | 12 class BookmarkModel; |
| 13 class BookmarkNode; | 13 class BookmarkNode; |
| 14 class PrefService; | 14 class PrefService; |
| 15 | 15 |
| 16 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The | 16 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The |
| (...skipping 26 matching lines...) Expand all Loading... |
| 43 // Updates the value for |prefs::kBookmarkEditorExpandedNodes| from | 43 // Updates the value for |prefs::kBookmarkEditorExpandedNodes| from |
| 44 // GetExpandedNodes(). | 44 // GetExpandedNodes(). |
| 45 void UpdatePrefs(const Nodes& nodes); | 45 void UpdatePrefs(const Nodes& nodes); |
| 46 | 46 |
| 47 BookmarkModel* bookmark_model_; | 47 BookmarkModel* bookmark_model_; |
| 48 PrefService* pref_service_; | 48 PrefService* pref_service_; |
| 49 | 49 |
| 50 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); | 50 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 53 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
| OLD | NEW |