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

Unified Diff: components/image_fetcher/image_fetcher.h

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.h
diff --git a/components/image_fetcher/image_fetcher.h b/components/image_fetcher/image_fetcher.h
index a5b1c7f1d7575845c70ac677c6f97ef508d24df6..73f3b99b0a406f283d0dbe5e46a62bc3a7e0a73d 100644
--- a/components/image_fetcher/image_fetcher.h
+++ b/components/image_fetcher/image_fetcher.h
@@ -45,6 +45,9 @@ class ImageFetcher {
// size.
virtual void SetDesiredImageFrameSize(const gfx::Size& size) = 0;
+ // Disables sending cookies together with the HTTP request.
+ virtual void DisableCookies() = 0;
+
// An empty gfx::Image will be returned to the callback in case the image
// could not be fetched.
virtual void StartOrQueueNetworkRequest(

Powered by Google App Engine
This is Rietveld 408576698