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

Unified Diff: Source/modules/serviceworkers/Cache.h

Issue 273683006: ScriptPromise should understand the ScriptState from which the ScriptPromise is generated (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/modules/quota/StorageQuota.idl ('k') | Source/modules/serviceworkers/Cache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Cache.h
diff --git a/Source/modules/serviceworkers/Cache.h b/Source/modules/serviceworkers/Cache.h
index 9f7c8793ec5c35e9922f7d2fa7d2a41c8b68e678..6bb1ea3a6db115c5eb8f0743b55d27471e53d753 100644
--- a/Source/modules/serviceworkers/Cache.h
+++ b/Source/modules/serviceworkers/Cache.h
@@ -5,6 +5,7 @@
#ifndef Cache_h
#define Cache_h
+#include "bindings/v8/ScriptState.h"
#include "bindings/v8/ScriptWrappable.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
@@ -21,8 +22,8 @@ public:
static PassRefPtr<Cache> create(const Vector<String>& urlStrings);
~Cache();
- ScriptPromise match(ExecutionContext*, const String& urlString);
- ScriptPromise ready(ExecutionContext*);
+ ScriptPromise match(ScriptState*, const String& urlString);
+ ScriptPromise ready(ScriptState*);
private:
Cache();
« no previous file with comments | « Source/modules/quota/StorageQuota.idl ('k') | Source/modules/serviceworkers/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698