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

Unified Diff: Source/modules/serviceworkers/Body.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/Body.cpp ('k') | Source/modules/serviceworkers/BodyStreamBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Body.idl
diff --git a/Source/modules/serviceworkers/Body.idl b/Source/modules/serviceworkers/Body.idl
deleted file mode 100644
index 656cac57b7c2dc4312d956f45879372dde812f08..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/Body.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/#body
-typedef object JSON;
-[
- RuntimeEnabled=ServiceWorker,
- Exposed=ServiceWorker,
- NoInterfaceObject,
- ActiveDOMObject,
- GarbageCollected,
- TypeChecking=Interface,
-] interface Body {
- readonly attribute boolean bodyUsed;
- [CallWith=ScriptState] Promise<ArrayBuffer> arrayBuffer();
- [CallWith=ScriptState] Promise<Blob> blob();
- [CallWith=ScriptState] Promise<JSON> json();
- [CallWith=ScriptState] Promise<USVString> text();
-
- [RuntimeEnabled=Stream] readonly attribute ReadableStream body;
- // Still to be implemented.
- // [CallWith=ScriptState] Promise<FormData> formData();
-};
« no previous file with comments | « Source/modules/serviceworkers/Body.cpp ('k') | Source/modules/serviceworkers/BodyStreamBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698