Index: third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp |
diff --git a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp |
index 7ece4b9e46d4fdf13c8f51271c41885d5be958c6..785e1e527707a804e0cb56f85bf71d00a37df466 100644 |
--- a/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp |
+++ b/third_party/WebKit/Source/modules/serviceworkers/FetchEvent.cpp |
@@ -30,6 +30,11 @@ Request* FetchEvent::request() const |
return m_request; |
} |
+String FetchEvent::clientId() const |
+{ |
+ return m_clientId; |
+} |
+ |
bool FetchEvent::isReload() const |
{ |
return m_isReload; |
@@ -57,6 +62,7 @@ FetchEvent::FetchEvent(const AtomicString& type, const FetchEventInit& initializ |
{ |
if (initializer.hasRequest()) |
m_request = initializer.request(); |
+ m_clientId = initializer.clientId(); |
m_isReload = initializer.isReload(); |
} |