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

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

Issue 795323003: Move Fetch API releted code to modules/fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/serviceworkers/Headers.cpp ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Headers.idl
diff --git a/Source/modules/serviceworkers/Headers.idl b/Source/modules/serviceworkers/Headers.idl
deleted file mode 100644
index dad4fcc7a4ae82959b9dce22310ffc287de0b98a..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/Headers.idl
+++ /dev/null
@@ -1,24 +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),
- Constructor(sequence<sequence<ByteString>> input),
- Iterable,
- Exposed(Window GlobalFetch, DedicatedWorker GlobalFetch, SharedWorker GlobalFetch, ServiceWorker ServiceWorker),
- RaisesException=Constructor,
- GarbageCollected,
- TypeChecking=Interface,
-] 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);
-};
« no previous file with comments | « Source/modules/serviceworkers/Headers.cpp ('k') | Source/modules/serviceworkers/Request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698