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 CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <set> | 8 #include <set> |
10 | 9 |
11 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" | 10 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
12 | 11 |
13 class BookmarkNode; | 12 class BookmarkNode; |
14 class Profile; | 13 class Profile; |
15 | 14 |
16 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The | 15 // BookmarkExpandedStateTracker is used to track a set of expanded nodes. The |
17 // nodes are persisted in preferences. If an expanded node is removed from the | 16 // nodes are persisted in preferences. If an expanded node is removed from the |
(...skipping 26 matching lines...) Expand all Loading... |
44 | 43 |
45 Profile* profile_; | 44 Profile* profile_; |
46 | 45 |
47 // Preferences path expanded state is stored under. | 46 // Preferences path expanded state is stored under. |
48 const char* pref_path_; | 47 const char* pref_path_; |
49 | 48 |
50 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); | 49 DISALLOW_COPY_AND_ASSIGN(BookmarkExpandedStateTracker); |
51 }; | 50 }; |
52 | 51 |
53 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ | 52 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_EXPANDED_STATE_TRACKER_H_ |
OLD | NEW |