| OLD | NEW |
| 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "Request.h" | 6 #include "Request.h" |
| 7 | 7 |
| 8 #include "bindings/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
| 9 #include "core/dom/DOMURLUtilsReadOnly.h" | 9 #include "core/dom/DOMURLUtilsReadOnly.h" |
| 10 #include "modules/serviceworkers/RequestInit.h" | 10 #include "modules/serviceworkers/RequestInit.h" |
| 11 #include "platform/NotImplemented.h" | 11 #include "platform/NotImplemented.h" |
| 12 #include "platform/network/ResourceRequest.h" | 12 #include "platform/network/ResourceRequest.h" |
| 13 #include "public/platform/WebServiceWorkerRequest.h" | 13 #include "public/platform/WebServiceWorkerRequest.h" |
| 14 | 14 |
| 15 namespace WebCore { | 15 namespace WebCore { |
| 16 | 16 |
| 17 PassRefPtr<Request> Request::create() | 17 PassRefPtr<Request> Request::create() |
| 18 { | 18 { |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 Request::Request(const blink::WebServiceWorkerRequest& webRequest) | 66 Request::Request(const blink::WebServiceWorkerRequest& webRequest) |
| 67 : m_url(webRequest.url()) | 67 : m_url(webRequest.url()) |
| 68 , m_method(webRequest.method()) | 68 , m_method(webRequest.method()) |
| 69 , m_headers(HeaderMap::create(webRequest.headers())) | 69 , m_headers(HeaderMap::create(webRequest.headers())) |
| 70 { | 70 { |
| 71 ScriptWrappable::init(this); | 71 ScriptWrappable::init(this); |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace WebCore | 74 } // namespace WebCore |
| OLD | NEW |