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

Unified Diff: components/favicon/core/favicon_handler.h

Issue 2728893004: Move WasUnableToDownload logic to FaviconHandler (Closed)
Patch Set: Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: components/favicon/core/favicon_handler.h
diff --git a/components/favicon/core/favicon_handler.h b/components/favicon/core/favicon_handler.h
index e7a13bbb8d08a03166d910ab0330d170854c488b..d15332d5592c9b48613ff4a1341d8f3a0b62749f 100644
--- a/components/favicon/core/favicon_handler.h
+++ b/components/favicon/core/favicon_handler.h
@@ -219,6 +219,10 @@ class FaviconHandler {
void OnFaviconDataForInitialURLFromFaviconService(const std::vector<
favicon_base::FaviconRawBitmapResult>& favicon_bitmap_results);
+ // Increments |current_candidate_index_| if a next candidate is available,
+ // returns false otherwise.
+ bool IncrementCurrentCandidateIndex();
+
// If the favicon currently mapped to |url_| has expired, downloads the
// current candidate favicon from the renderer. Otherwise requests data for
// the current favicon from history. If data is requested from history,

Powered by Google App Engine
This is Rietveld 408576698