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

Unified Diff: Source/modules/serviceworkers/FetchEvent.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
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchEvent.h
diff --git a/Source/modules/serviceworkers/FetchEvent.h b/Source/modules/serviceworkers/FetchEvent.h
index d2906f13eeab346e1c8e42d9dad5d554754fde90..94432f0a577849cbdbb7916b3580d87b211f63a9 100644
--- a/Source/modules/serviceworkers/FetchEvent.h
+++ b/Source/modules/serviceworkers/FetchEvent.h
@@ -11,6 +11,7 @@
#include "modules/serviceworkers/ExtendableEvent.h"
#include "modules/serviceworkers/FetchEventInit.h"
#include "modules/serviceworkers/RespondWithObserver.h"
+#include "modules/serviceworkers/ServiceWorkerClient.h"
#include "platform/heap/Handle.h"
namespace blink {
@@ -30,6 +31,7 @@ public:
static PassRefPtrWillBeRawPtr<FetchEvent> create(const AtomicString& type, FetchEventInit&, RespondWithObserver*);
Request* request() const;
+ ServiceWorkerClient* client() const;
bool isReload() const;
void respondWith(ScriptState*, const ScriptValue&, ExceptionState&);
@@ -45,6 +47,7 @@ protected:
private:
PersistentWillBeMember<RespondWithObserver> m_observer;
PersistentWillBeMember<Request> m_request;
+ PersistentWillBeMember<ServiceWorkerClient> m_client;
bool m_isReload;
};
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698