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

Unified Diff: components/enhanced_bookmarks/bookmark_image_service.cc

Issue 899653003: [Enhanced Bookmark]Upstream image fetching code in android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 5 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
« no previous file with comments | « components/enhanced_bookmarks/bookmark_image_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/enhanced_bookmarks/bookmark_image_service.cc
diff --git a/components/enhanced_bookmarks/bookmark_image_service.cc b/components/enhanced_bookmarks/bookmark_image_service.cc
index 8fa295e0fad05e03dff1ddf394a27cfdc750a05f..683ae6e9314127cf95356e5fd81e2ae74a6c0e5f 100644
--- a/components/enhanced_bookmarks/bookmark_image_service.cc
+++ b/components/enhanced_bookmarks/bookmark_image_service.cc
@@ -166,7 +166,7 @@ void BookmarkImageService::FetchCallback(const GURL& page_url,
}
void BookmarkImageService::SalientImageForUrl(const GURL& page_url,
- bool fetch_from_bookmark,
+ bool fetch_from_web,
ImageCallback callback) {
DCHECK(CalledOnValidThread());
@@ -177,7 +177,7 @@ void BookmarkImageService::SalientImageForUrl(const GURL& page_url,
return;
}
- if (!fetch_from_bookmark) {
+ if (!fetch_from_web) {
RetrieveImageFromStore(page_url, callback);
} else {
RetrieveImageFromStore(page_url,
« no previous file with comments | « components/enhanced_bookmarks/bookmark_image_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698