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

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: wrap in 80 columns 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..9087747b81ced98fcce7596a1e841dac061f208d 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() { return m_response; }
Mike West 2014/09/25 12:35:53 This getter should be const.
horo 2014/09/25 14:02:16 Done.
+
String type() const;
String url() const;
unsigned short status() const;

Powered by Google App Engine
This is Rietveld 408576698