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

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

Issue 1656933003: Add origins argument to registerForeignFetchScopes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
index c9672d4ad26efa5f2956fa6f27c1f91eb17aa555..ddd96c97ca8bdf2ed7437c04f5c8674b2ba12397 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/InstallEvent.h
@@ -11,6 +11,8 @@
namespace blink {
+class USVStringOrUSVStringSequence;
+
class MODULES_EXPORT InstallEvent : public ExtendableEvent {
DEFINE_WRAPPERTYPEINFO();
@@ -21,7 +23,7 @@ public:
~InstallEvent() override;
- void registerForeignFetchScopes(ExecutionContext*, const Vector<String>& subScopes, ExceptionState&);
+ void registerForeignFetchScopes(ExecutionContext*, const Vector<String>& subScopes, const USVStringOrUSVStringSequence& origins, ExceptionState&);
const AtomicString& interfaceName() const override;

Powered by Google App Engine
This is Rietveld 408576698