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

Unified Diff: components/image_fetcher/image_fetcher_impl.cc

Issue 2756633003: [Image Fetcher] Add support to disable cookies (Closed)
Patch Set: Created 3 years, 9 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/image_fetcher/image_fetcher_impl.cc
diff --git a/components/image_fetcher/image_fetcher_impl.cc b/components/image_fetcher/image_fetcher_impl.cc
index bee92cb479c5a371d475aa7be3bb8586a44bfe2c..8087500924ce5fe66b86f58d14b029835501bd80 100644
--- a/components/image_fetcher/image_fetcher_impl.cc
+++ b/components/image_fetcher/image_fetcher_impl.cc
@@ -43,6 +43,10 @@ void ImageFetcherImpl::SetDesiredImageFrameSize(const gfx::Size& size) {
desired_image_frame_size_ = size;
}
+void ImageFetcherImpl::DisableCookies() {
+ image_data_fetcher_->DisableCookies();
+}
+
void ImageFetcherImpl::StartOrQueueNetworkRequest(
const std::string& id,
const GURL& image_url,

Powered by Google App Engine
This is Rietveld 408576698