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

Unified Diff: Source/modules/serviceworkers/Response.h

Issue 337793003: ServiceWorker: Spec alignment tweaks for Request/Response objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/modules/serviceworkers/RequestInit.h ('k') | Source/modules/serviceworkers/Response.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Response.h
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h
index cea5f75669aa762ad357e7b62ecd57e60bee2569..a535e2eaa723026133020a3d02ee1354daa962cb 100644
--- a/Source/modules/serviceworkers/Response.h
+++ b/Source/modules/serviceworkers/Response.h
@@ -26,7 +26,11 @@ public:
~Response() { };
unsigned short status() const { return m_status; }
+ void setStatus(unsigned short value) { m_status = value; }
+
String statusText() const { return m_statusText; }
+ void setStatusText(const String& value) { m_statusText = value; }
+
PassRefPtr<HeaderMap> headers() const;
void populateWebServiceWorkerResponse(blink::WebServiceWorkerResponse&);
« no previous file with comments | « Source/modules/serviceworkers/RequestInit.h ('k') | Source/modules/serviceworkers/Response.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698