OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ | 5 #ifndef IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ |
6 #define IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ | 6 #define IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 // BookmarkModel instance providing access to bookmarks. May be null during | 51 // BookmarkModel instance providing access to bookmarks. May be null during |
52 // testing but must outlive HistoryClientImpl if non-null. | 52 // testing but must outlive HistoryClientImpl if non-null. |
53 bookmarks::BookmarkModel* bookmark_model_; | 53 bookmarks::BookmarkModel* bookmark_model_; |
54 bool is_bookmark_model_observer_; | 54 bool is_bookmark_model_observer_; |
55 | 55 |
56 // Callback invoked when URLs are removed from BookmarkModel. | 56 // Callback invoked when URLs are removed from BookmarkModel. |
57 base::Callback<void(const std::set<GURL>&)> on_bookmarks_removed_; | 57 base::Callback<void(const std::set<GURL>&)> on_bookmarks_removed_; |
58 | 58 |
59 // Subscription for notifications of changes to favicons. | 59 // Subscription for notifications of changes to favicons. |
60 scoped_ptr<base::CallbackList<void(const std::set<GURL>&)>::Subscription> | 60 scoped_ptr<base::CallbackList<void(const std::set<GURL>&, |
61 favicon_changed_subscription_; | 61 const GURL&)>::Subscription> |
| 62 favicons_changed_subscription_; |
62 | 63 |
63 DISALLOW_COPY_AND_ASSIGN(HistoryClientImpl); | 64 DISALLOW_COPY_AND_ASSIGN(HistoryClientImpl); |
64 }; | 65 }; |
65 | 66 |
66 #endif // IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ | 67 #endif // IOS_CHROME_BROWSER_HISTORY_HISTORY_CLIENT_IMPL_H_ |
OLD | NEW |