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

Unified Diff: chrome/browser/notifications/sync_notifier/image_holder.cc

Issue 263563003: Add referrer & load flag support to BitmapFetcher class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use new start function only Created 6 years, 7 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/notifications/sync_notifier/image_holder.cc
diff --git a/chrome/browser/notifications/sync_notifier/image_holder.cc b/chrome/browser/notifications/sync_notifier/image_holder.cc
index c5dcbc16740efe4f7c74a30de0efe40c3f6d80bc..65af2c99824f54cde774d2d826320d0957de5a57 100644
--- a/chrome/browser/notifications/sync_notifier/image_holder.cc
+++ b/chrome/browser/notifications/sync_notifier/image_holder.cc
@@ -67,7 +67,11 @@ void ImageHolder::StartFetch() {
// Now that we have queued them all, start the fetching.
ScopedVector<chrome::BitmapFetcher>::iterator iter;
for (iter = fetchers_.begin(); iter != fetchers_.end(); ++iter) {
- (*iter)->Start(profile_->GetRequestContext());
+ (*iter)->Start(
+ profile_->GetRequestContext(),
+ "",
+ net::URLRequest::CLEAR_REFERRER_ON_TRANSITION_FROM_SECURE_TO_INSECURE,
+ net::LOAD_NORMAL);
}
}

Powered by Google App Engine
This is Rietveld 408576698