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

Side by Side Diff: Source/modules/serviceworkers/Headers.idl

Issue 676563002: Service Worker: Annotate IDLs with [TypeChecking] to turn it on (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove TypeChecking=Unrestricted 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // http://fetch.spec.whatwg.org/#headers-class 5 // http://fetch.spec.whatwg.org/#headers-class
6 typedef Dictionary OpenEndedDictionary; 6 typedef Dictionary OpenEndedDictionary;
7 [ 7 [
8 Constructor, 8 Constructor,
9 Constructor(Headers input), 9 Constructor(Headers input),
10 Constructor(OpenEndedDictionary input), 10 Constructor(OpenEndedDictionary input),
11 Constructor(sequence<sequence<ByteString>> input), 11 Constructor(sequence<sequence<ByteString>> input),
12 Iterable, 12 Iterable,
13 RuntimeEnabled=ServiceWorker, 13 RuntimeEnabled=ServiceWorker,
14 Exposed=ServiceWorker, 14 Exposed=ServiceWorker,
15 RaisesException=Constructor, 15 RaisesException=Constructor,
16 GarbageCollected, 16 GarbageCollected,
17 TypeChecking=Interface,
17 ] interface Headers { 18 ] interface Headers {
18 [RaisesException] void append(ByteString name, ByteString value); 19 [RaisesException] void append(ByteString name, ByteString value);
19 [ImplementedAs=remove, RaisesException] void delete(ByteString key); 20 [ImplementedAs=remove, RaisesException] void delete(ByteString key);
20 [RaisesException] ByteString? get(ByteString key); 21 [RaisesException] ByteString? get(ByteString key);
21 [RaisesException] sequence<ByteString> getAll(ByteString name); 22 [RaisesException] sequence<ByteString> getAll(ByteString name);
22 [RaisesException] boolean has(ByteString key); 23 [RaisesException] boolean has(ByteString key);
23 [RaisesException] void set(ByteString key, ByteString value); 24 [RaisesException] void set(ByteString key, ByteString value);
24 }; 25 };
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/FetchEvent.idl ('k') | Source/modules/serviceworkers/InstallEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698