Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1261)

Side by Side Diff: chrome/browser/history/chrome_history_client.h

Issue 1133463005: Update all bookmarks which use an icon URL when a favicon's bitmap is updated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startup_do_not_unexpire
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 5 #ifndef CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 6 #define CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // BookmarkModel instance providing access to bookmarks. May be null during 53 // BookmarkModel instance providing access to bookmarks. May be null during
54 // testing but must outlive ChromeHistoryClient if non-null. 54 // testing but must outlive ChromeHistoryClient if non-null.
55 bookmarks::BookmarkModel* bookmark_model_; 55 bookmarks::BookmarkModel* bookmark_model_;
56 bool is_bookmark_model_observer_; 56 bool is_bookmark_model_observer_;
57 57
58 // Callback invoked when URLs are removed from BookmarkModel. 58 // Callback invoked when URLs are removed from BookmarkModel.
59 base::Callback<void(const std::set<GURL>&)> on_bookmarks_removed_; 59 base::Callback<void(const std::set<GURL>&)> on_bookmarks_removed_;
60 60
61 // Subscription for notifications of changes to favicons. 61 // Subscription for notifications of changes to favicons.
62 scoped_ptr<base::CallbackList<void(const std::set<GURL>&)>::Subscription> 62 scoped_ptr<base::CallbackList<void(const std::set<GURL>&,
63 favicon_changed_subscription_; 63 const GURL&)>::Subscription>
64 favicons_changed_subscription_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient); 66 DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient);
66 }; 67 };
67 68
68 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ 69 #endif // CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698