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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h

Issue 1406823002: Start of foreign fetch implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove blank line Created 5 years, 2 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: third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h
new file mode 100644
index 0000000000000000000000000000000000000000..c9672d4ad26efa5f2956fa6f27c1f91eb17aa555
--- /dev/null
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h
@@ -0,0 +1,36 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef InstallEvent_h
+#define InstallEvent_h
+
+#include "modules/EventModules.h"
+#include "modules/ModulesExport.h"
+#include "modules/serviceworkers/ExtendableEvent.h"
+
+namespace blink {
+
+class MODULES_EXPORT InstallEvent : public ExtendableEvent {
+ DEFINE_WRAPPERTYPEINFO();
+
+public:
+ static PassRefPtrWillBeRawPtr<InstallEvent> create();
+ static PassRefPtrWillBeRawPtr<InstallEvent> create(const AtomicString& type, const ExtendableEventInit&);
+ static PassRefPtrWillBeRawPtr<InstallEvent> create(const AtomicString& type, const ExtendableEventInit&, WaitUntilObserver*);
+
+ ~InstallEvent() override;
+
+ void registerForeignFetchScopes(ExecutionContext*, const Vector<String>& subScopes, ExceptionState&);
+
+ const AtomicString& interfaceName() const override;
+
+protected:
+ InstallEvent();
+ InstallEvent(const AtomicString& type, const ExtendableEventInit&);
+ InstallEvent(const AtomicString& type, const ExtendableEventInit&, WaitUntilObserver*);
+};
+
+} // namespace blink
+
+#endif // InstallEvent_h
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | third_party/WebKit/Source/modules/serviceworkers/InstallEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698