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

Unified Diff: modules/serviceworkers/Headers.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
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
« no previous file with comments | « modules/serviceworkers/FetchEventInit.idl ('k') | modules/serviceworkers/HeadersForEachCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/serviceworkers/Headers.idl
diff --git a/modules/serviceworkers/Headers.idl b/modules/serviceworkers/Headers.idl
deleted file mode 100644
index 1b29e74ee529aaf4ee548605866ca0c1612cb3db..0000000000000000000000000000000000000000
--- a/modules/serviceworkers/Headers.idl
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// http://fetch.spec.whatwg.org/#headers-class
-typedef Dictionary OpenEndedDictionary;
-[
- Constructor,
- Constructor(Headers input),
- Constructor(OpenEndedDictionary input),
- RuntimeEnabled=ServiceWorker,
- Exposed=ServiceWorker,
- RaisesException=Constructor,
- GarbageCollected,
-] interface Headers {
- [RaisesException] void append(ByteString name, ByteString value);
- [ImplementedAs=remove, RaisesException] void delete(ByteString key);
- [RaisesException] ByteString? get(ByteString key);
- [RaisesException] sequence<ByteString> getAll(ByteString name);
- [RaisesException] boolean has(ByteString key);
- [RaisesException] void set(ByteString key, ByteString value);
-
- // The following are not defined in the spec.
- // FIXME: We should implement Headers.prototype[Symbol.iterator] instead of
- // forEach and size.
- // https://www.w3.org/Bugs/Public/show_bug.cgi?id=26102
- readonly attribute unsigned long size;
- void forEach(HeadersForEachCallback callback, optional any thisArg);
-};
« no previous file with comments | « modules/serviceworkers/FetchEventInit.idl ('k') | modules/serviceworkers/HeadersForEachCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698