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

Side by Side Diff: Source/modules/serviceworkers/Request.cpp

Issue 642383002: Only include NotImplemented.h when it is actually used (when notImplemented() is called). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
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/core/v8/Dictionary.h" 8 #include "bindings/core/v8/Dictionary.h"
9 #include "core/dom/ExecutionContext.h" 9 #include "core/dom/ExecutionContext.h"
10 #include "core/fetch/FetchUtils.h" 10 #include "core/fetch/FetchUtils.h"
11 #include "core/fetch/ResourceLoaderOptions.h" 11 #include "core/fetch/ResourceLoaderOptions.h"
12 #include "core/loader/ThreadableLoader.h" 12 #include "core/loader/ThreadableLoader.h"
13 #include "core/xml/XMLHttpRequest.h" 13 #include "core/xml/XMLHttpRequest.h"
14 #include "modules/serviceworkers/FetchManager.h" 14 #include "modules/serviceworkers/FetchManager.h"
15 #include "modules/serviceworkers/RequestInit.h" 15 #include "modules/serviceworkers/RequestInit.h"
16 #include "platform/NotImplemented.h"
17 #include "platform/network/HTTPParsers.h" 16 #include "platform/network/HTTPParsers.h"
18 #include "platform/network/ResourceRequest.h" 17 #include "platform/network/ResourceRequest.h"
19 #include "platform/weborigin/Referrer.h" 18 #include "platform/weborigin/Referrer.h"
20 #include "public/platform/WebServiceWorkerRequest.h" 19 #include "public/platform/WebServiceWorkerRequest.h"
21 20
22 namespace blink { 21 namespace blink {
23 22
24 Request* Request::createRequestWithRequestData(ExecutionContext* context, FetchR equestData* request, const RequestInit& init, FetchRequestData::Mode mode, Fetch RequestData::Credentials credentials, ExceptionState& exceptionState) 23 Request* Request::createRequestWithRequestData(ExecutionContext* context, FetchR equestData* request, const RequestInit& init, FetchRequestData::Mode mode, Fetch RequestData::Credentials credentials, ExceptionState& exceptionState)
25 { 24 {
26 // "7. Let |mode| be |init|'s mode member if it is present, and 25 // "7. Let |mode| be |init|'s mode member if it is present, and
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 } 330 }
332 331
333 void Request::trace(Visitor* visitor) 332 void Request::trace(Visitor* visitor)
334 { 333 {
335 Body::trace(visitor); 334 Body::trace(visitor);
336 visitor->trace(m_request); 335 visitor->trace(m_request);
337 visitor->trace(m_headers); 336 visitor->trace(m_headers);
338 } 337 }
339 338
340 } // namespace blink 339 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/crypto/NormalizeAlgorithm.cpp ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698