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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 1839473002: Centralize the setting of Accept headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 years, 8 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: third_party/WebKit/Source/core/fetch/Resource.h
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h
index e532c1aaa8c46d74aacc9dd97afbeaf9b29aeda6..75897eba47203c5e8d3500d124554278eee6622f 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -198,11 +198,6 @@ public:
String reasonNotDeletable() const;
- // List of acceptable MIME types separated by ",".
- // A MIME type may contain a wildcard, e.g. "text/*".
- AtomicString accept() const { return m_accept; }
- void setAccept(const AtomicString& accept) { m_accept = accept; }
-
AtomicString httpContentType() const;
bool wasCanceled() const { return m_error.isCancellation(); }
@@ -303,7 +298,6 @@ protected:
ResourceRequest m_resourceRequest;
ResourceRequest m_revalidatingRequest;
- AtomicString m_accept;
Member<ResourceLoader> m_loader;
ResourceLoaderOptions m_options;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResource.cpp ('k') | third_party/WebKit/Source/core/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698