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

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

Issue 644473006: Rename 'ScalarValueString' to 'USVString' to match Web IDL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/encoding/TextEncoder.idl ('k') | Source/modules/serviceworkers/CacheStorage.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Cache.idl
diff --git a/Source/modules/serviceworkers/Cache.idl b/Source/modules/serviceworkers/Cache.idl
index 57e8e5306ce44c3f59feac8a1c103c1dd074fb63..94fbd5da81f390aae5ada06976e87301898af670 100644
--- a/Source/modules/serviceworkers/Cache.idl
+++ b/Source/modules/serviceworkers/Cache.idl
@@ -11,32 +11,32 @@
] interface Cache {
// FIXME: Blink doesn't support union types, we use overrides instead. See http://crbug.com/240176
- // [CallWith=ScriptState] Promise match((Request or ScalarValueString) request, optional CacheQueryOptions options);
+ // [CallWith=ScriptState] Promise match((Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState] Promise match(Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState] Promise match(ScalarValueString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState] Promise match(USVString request, optional CacheQueryOptions options);
- // [CallWith=ScriptState] Promise matchAll((Request or ScalarValueString) request, optional CacheQueryOptions options);
+ // [CallWith=ScriptState] Promise matchAll((Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState] Promise matchAll(Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState] Promise matchAll(ScalarValueString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState] Promise matchAll(USVString request, optional CacheQueryOptions options);
- // [CallWith=ScriptState] Promise add((Request or ScalarValueString) request);
+ // [CallWith=ScriptState] Promise add((Request or USVString) request);
[CallWith=ScriptState] Promise add(Request request);
- [CallWith=ScriptState] Promise add(ScalarValueString request);
+ [CallWith=ScriptState] Promise add(USVString request);
// FIXME: The lack of union type support together with the sequence mean we can't use overrides here, instead
// bind a generic type.
- // [CallWith=ScriptState] Promise addAll(sequence<Request or ScalarValueString> requests);
+ // [CallWith=ScriptState] Promise addAll(sequence<Request or USVString> requests);
[CallWith=ScriptState] Promise addAll(sequence<any> requests);
- // [CallWith=ScriptState] Promise put((Request or ScalarValueString) request, Response response);
+ // [CallWith=ScriptState] Promise put((Request or USVString) request, Response response);
[CallWith=ScriptState] Promise put(Request request, Response response);
- [CallWith=ScriptState] Promise put(ScalarValueString request, Response response);
+ [CallWith=ScriptState] Promise put(USVString request, Response response);
- // [CallWith=ScriptState] Promise delete((Request or ScalarValueString) request, optional CacheQueryOptions options);
+ // [CallWith=ScriptState] Promise delete((Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(ScalarValueString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState, ImplementedAs=deleteFunction] Promise delete(USVString request, optional CacheQueryOptions options);
- // [CallWith=ScriptState] Promise keys(optional (Request or ScalarValueString) request, optional CacheQueryOptions options);
+ // [CallWith=ScriptState] Promise keys(optional (Request or USVString) request, optional CacheQueryOptions options);
[CallWith=ScriptState] Promise keys(optional Request request, optional CacheQueryOptions options);
- [CallWith=ScriptState] Promise keys(ScalarValueString request, optional CacheQueryOptions options);
+ [CallWith=ScriptState] Promise keys(USVString request, optional CacheQueryOptions options);
};
« no previous file with comments | « Source/modules/encoding/TextEncoder.idl ('k') | Source/modules/serviceworkers/CacheStorage.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698