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

Unified Diff: chrome/browser/ui/passwords/account_avatar_fetcher.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
« no previous file with comments | « chrome/browser/search/suggestions/image_fetcher_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/passwords/account_avatar_fetcher.cc
diff --git a/chrome/browser/ui/passwords/account_avatar_fetcher.cc b/chrome/browser/ui/passwords/account_avatar_fetcher.cc
index 2db5037dd0cb007b072da4e04624ef9d40d7c026..3889e11a2a098895c93a211a04f6f53db321019c 100644
--- a/chrome/browser/ui/passwords/account_avatar_fetcher.cc
+++ b/chrome/browser/ui/passwords/account_avatar_fetcher.cc
@@ -19,10 +19,11 @@ AccountAvatarFetcher::~AccountAvatarFetcher() = default;
void AccountAvatarFetcher::Start(
net::URLRequestContextGetter* request_context) {
- fetcher_.Start(request_context, std::string(),
- net::URLRequest::NEVER_CLEAR_REFERRER,
- net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES |
- net::LOAD_MAYBE_USER_GESTURE);
+ fetcher_.Init(request_context, std::string(),
+ net::URLRequest::NEVER_CLEAR_REFERRER,
+ net::LOAD_DO_NOT_SEND_COOKIES | net::LOAD_DO_NOT_SAVE_COOKIES |
+ net::LOAD_MAYBE_USER_GESTURE);
+ fetcher_.Start();
}
void AccountAvatarFetcher::OnFetchComplete(const GURL& /*url*/,
« no previous file with comments | « chrome/browser/search/suggestions/image_fetcher_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698