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

Unified Diff: public/platform/WebServiceWorkerRequest.h

Issue 578763003: ServiceWorker: Fix conversion from Request headers to WebServiceWorkerRequest headers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove lowercase restriction Created 6 years, 3 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
« no previous file with comments | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerRequest.h
diff --git a/public/platform/WebServiceWorkerRequest.h b/public/platform/WebServiceWorkerRequest.h
index 89a45ae0c0859f46a40dd5f2b47d8b0dc13ccd31..ed46a205f6518bc687550c552c42bd8f49a780a1 100644
--- a/public/platform/WebServiceWorkerRequest.h
+++ b/public/platform/WebServiceWorkerRequest.h
@@ -47,6 +47,11 @@ public:
WebString method() const;
void setHeader(const WebString& key, const WebString& value);
+
+ // If the key already exists, the value is appended to the existing value
+ // with a comma delimiter between them.
+ void appendHeader(const WebString& key, const WebString& value);
+
void visitHTTPHeaderFields(WebHTTPHeaderVisitor*) const;
void setBlob(const WebString& uuid, long long size);
« no previous file with comments | « Source/platform/exported/WebServiceWorkerRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698