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

Unified Diff: public/platform/WebServiceWorkerRequest.h

Issue 1102363002: Add Client Attribute to FetchEvent- Blink Side. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: public/platform/WebServiceWorkerRequest.h
diff --git a/public/platform/WebServiceWorkerRequest.h b/public/platform/WebServiceWorkerRequest.h
index 45b04519fd901ad3b09ef93242d8ac93d19e1b89..2ad756a66fbf5efc668f0bc5308ce174a01013ce 100644
--- a/public/platform/WebServiceWorkerRequest.h
+++ b/public/platform/WebServiceWorkerRequest.h
@@ -8,6 +8,7 @@
#include "WebCommon.h"
#include "public/platform/WebPrivatePtr.h"
#include "public/platform/WebReferrerPolicy.h"
+#include "public/platform/WebServiceWorkerClientsInfo.h"
#include "public/platform/WebString.h"
#include "public/platform/WebURL.h"
#include "public/platform/WebURLRequest.h"
@@ -76,6 +77,9 @@ public:
void setIsReload(bool);
bool isReload() const;
+ void setClient(WebServiceWorkerClientInfo);
jsbell 2015/05/06 16:21:26 Can this be a const ref?
Paritosh Kumar 2015/05/07 16:46:54 Yes.
+ WebServiceWorkerClientInfo client() const;
jsbell 2015/05/06 16:21:26 This could be a const ref as well
Paritosh Kumar 2015/05/07 16:46:54 Yes. Thanks.
+
#if INSIDE_BLINK
const HTTPHeaderMap& headers() const;
PassRefPtr<BlobDataHandle> blobDataHandle() const;

Powered by Google App Engine
This is Rietveld 408576698