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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 1965013002: Implement headers attributes in ForeignFetchResponse (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: using instead of typedef Created 4 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: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 13d6e77b71bfc697e4fb26e58ff0fb21593300c6..1766df4cfbb2ab2ed61983fab6b127f41abec122 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -455,6 +455,13 @@ void WebURLResponse::setCacheStorageCacheName(const WebString& cacheStorageCache
m_private->m_resourceResponse->setCacheStorageCacheName(cacheStorageCacheName);
}
+void WebURLResponse::setCorsExposedHeaderNames(const WebVector<WebString>& headerNames)
+{
+ Vector<String> exposedHeaderNames;
+ exposedHeaderNames.append(headerNames.data(), headerNames.size());
+ m_private->m_resourceResponse->setCorsExposedHeaderNames(exposedHeaderNames);
+}
+
WebString WebURLResponse::downloadFilePath() const
{
return m_private->m_resourceResponse->downloadedFilePath();

Powered by Google App Engine
This is Rietveld 408576698