| Index: third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLLinkElement.h b/third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| index c9aa13cfc823dac8339060643d7dae23f205308c..c315d3fe5ff70d95e4b43995ca5ce83ea2c25779 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLLinkElement.h
|
| @@ -37,6 +37,7 @@
|
| #include "core/loader/LinkLoaderClient.h"
|
| #include "platform/WebTaskRunner.h"
|
| #include "platform/bindings/TraceWrapperMember.h"
|
| +#include "public/platform/modules/serviceworker/WebServiceWorkerUpdateViaCache.h"
|
|
|
| namespace blink {
|
|
|
| @@ -63,6 +64,9 @@ class CORE_EXPORT HTMLLinkElement final : public HTMLElement,
|
| return static_cast<DOMTokenList&>(*rel_list_);
|
| }
|
| String Scope() const { return scope_; }
|
| + WebServiceWorkerUpdateViaCache UpdateViaCache() const {
|
| + return update_via_cache_;
|
| + }
|
|
|
| const AtomicString& GetType() const;
|
|
|
| @@ -150,6 +154,8 @@ class CORE_EXPORT HTMLLinkElement final : public HTMLElement,
|
| void DidSendDOMContentLoadedForLinkPrerender() override;
|
| RefPtr<WebTaskRunner> GetLoadingTaskRunner() override;
|
|
|
| + void ParseUpdateViaCacheAttribute();
|
| +
|
| Member<LinkResource> link_;
|
| Member<LinkLoader> link_loader_;
|
|
|
| @@ -162,6 +168,7 @@ class CORE_EXPORT HTMLLinkElement final : public HTMLElement,
|
| TraceWrapperMember<RelList> rel_list_;
|
| LinkRelAttribute rel_attribute_;
|
| String scope_;
|
| + WebServiceWorkerUpdateViaCache update_via_cache_;
|
|
|
| bool created_by_parser_;
|
| };
|
|
|