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

Side by Side Diff: ios/chrome/browser/history/history_client_impl.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 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
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_
OLDNEW
« no previous file with comments | « components/history/core/test/history_backend_db_base_test.cc ('k') | ios/chrome/browser/history/history_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698