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

Unified Diff: chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc

Issue 1097383005: Add possibility to define data callback to BitmapFetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@r479598_extensions_content_verifier_directories_fail
Patch Set: Clarified how calling Init/Start twice works + fixed android Created 5 years, 6 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: chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc
diff --git a/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc b/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc
index 4e53e5a563e492ff8433a5fe7f55e8c534f70460..42f9b0721e926d55758487ce237d32e29f7c8ca6 100644
--- a/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc
+++ b/chrome/browser/enhanced_bookmarks/android/bookmark_image_service_android.cc
@@ -254,8 +254,9 @@ void BookmarkImageServiceAndroid::BitmapFetcherHandler::Start(
update_bookmark_ = update_bookmark;
page_url_ = page_url;
- bitmap_fetcher_.Start(browser_context->GetRequestContext(), referrer,
- referrer_policy, load_flags);
+ bitmap_fetcher_.Init(browser_context->GetRequestContext(), referrer,
+ referrer_policy, load_flags);
+ bitmap_fetcher_.Start();
}
void BookmarkImageServiceAndroid::BitmapFetcherHandler::OnFetchComplete(

Powered by Google App Engine
This is Rietveld 408576698