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

Unified Diff: Source/modules/cachestorage/CacheStorage.h

Issue 1177983007: Cache Storage: restrict access to secure origins (Blink-side) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Simplify DevTools agent changes Created 5 years, 4 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: Source/modules/cachestorage/CacheStorage.h
diff --git a/Source/modules/cachestorage/CacheStorage.h b/Source/modules/cachestorage/CacheStorage.h
index 90d80328a73c60dc026fab55eae147190b0d2f84..117c39a62592fec934a42abba3a3913a14c76020 100644
--- a/Source/modules/cachestorage/CacheStorage.h
+++ b/Source/modules/cachestorage/CacheStorage.h
@@ -29,10 +29,10 @@ public:
~CacheStorage();
void dispose();
- ScriptPromise open(ScriptState*, const String& cacheName);
- ScriptPromise has(ScriptState*, const String& cacheName);
- ScriptPromise deleteFunction(ScriptState*, const String& cacheName);
- ScriptPromise keys(ScriptState*);
+ ScriptPromise open(ScriptState*, const String& cacheName, ExceptionState&);
+ ScriptPromise has(ScriptState*, const String& cacheName, ExceptionState&);
+ ScriptPromise deleteFunction(ScriptState*, const String& cacheName, ExceptionState&);
+ ScriptPromise keys(ScriptState*, ExceptionState&);
ScriptPromise match(ScriptState*, const RequestInfo&, const CacheQueryOptions&, ExceptionState&);
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698