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

Unified Diff: Source/modules/serviceworkers/Request.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/Request.cpp ('k') | Source/modules/serviceworkers/RequestInit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Request.idl
diff --git a/Source/modules/serviceworkers/Request.idl b/Source/modules/serviceworkers/Request.idl
deleted file mode 100644
index 34332105e07fdc3586e36fada6ece6982da89f26..0000000000000000000000000000000000000000
--- a/Source/modules/serviceworkers/Request.idl
+++ /dev/null
@@ -1,35 +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/#request-class
-
-typedef (Request or USVString) RequestInfo;
-
-enum RequestMode { "same-origin", "no-cors", "cors" };
-enum RequestCredentials { "omit", "same-origin", "include" };
-
-[
- Constructor(RequestInfo input, optional Dictionary requestInitDict),
- ConstructorCallWith=ExecutionContext,
- Exposed(Window GlobalFetch, DedicatedWorker GlobalFetch, SharedWorker GlobalFetch, ServiceWorker ServiceWorker),
- RaisesException=Constructor,
- ActiveDOMObject,
- GarbageCollected,
- TypeChecking=Interface,
-] interface Request {
- readonly attribute ByteString method;
- readonly attribute USVString url;
- readonly attribute Headers headers;
-
- readonly attribute DOMString referrer;
- readonly attribute RequestMode mode;
- readonly attribute RequestCredentials credentials;
-
- [RaisesException] Request clone();
-
- // FIXME: Implement the following:
- // readonly attribute RequestContext context;
-};
-
-Request implements Body;
« no previous file with comments | « Source/modules/serviceworkers/Request.cpp ('k') | Source/modules/serviceworkers/RequestInit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698