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

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

Issue 587213003: [ServiceWorker] Plumbing the request mode from the renderer to the ServiceWorker. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git cl format 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
Index: Source/modules/serviceworkers/Response.h
diff --git a/Source/modules/serviceworkers/Response.h b/Source/modules/serviceworkers/Response.h
index 861786bcf1f27fc469102bbcd63d2252e0ad28c7..8878e1a8f9f65cebf6693184f99f588da49f3a37 100644
--- a/Source/modules/serviceworkers/Response.h
+++ b/Source/modules/serviceworkers/Response.h
@@ -36,6 +36,8 @@ public:
// immutable to the user after Response creation. Headers are copied.
static Response* create(const Response&);
+ const FetchResponseData* response() const { return m_response; }
+
String type() const;
String url() const;
unsigned short status() const;
« no previous file with comments | « Source/modules/serviceworkers/RespondWithObserver.cpp ('k') | Source/platform/exported/WebServiceWorkerRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698