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

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

Issue 651503002: Clean up forward declarations in Source/modules (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 #ifndef Request_h 5 #ifndef Request_h
6 #define Request_h 6 #define Request_h
7 7
8 #include "bindings/core/v8/Dictionary.h" 8 #include "bindings/core/v8/Dictionary.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "modules/serviceworkers/Body.h" 10 #include "modules/serviceworkers/Body.h"
11 #include "modules/serviceworkers/FetchRequestData.h" 11 #include "modules/serviceworkers/FetchRequestData.h"
12 #include "modules/serviceworkers/Headers.h" 12 #include "modules/serviceworkers/Headers.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 #include "platform/weborigin/KURL.h" 14 #include "platform/weborigin/KURL.h"
15 #include "wtf/RefPtr.h" 15 #include "wtf/RefPtr.h"
16 #include "wtf/text/WTFString.h" 16 #include "wtf/text/WTFString.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 class RequestInit; 20 class RequestInit;
21 struct ResourceLoaderOptions;
22 class ResourceRequest;
23 struct ThreadableLoaderOptions;
24 class WebServiceWorkerRequest; 21 class WebServiceWorkerRequest;
25 22
26 class Request final : public Body { 23 class Request final : public Body {
27 DEFINE_WRAPPERTYPEINFO(); 24 DEFINE_WRAPPERTYPEINFO();
28 public: 25 public:
29 virtual ~Request() { } 26 virtual ~Request() { }
30 static Request* create(ExecutionContext*, const String&, ExceptionState&); 27 static Request* create(ExecutionContext*, const String&, ExceptionState&);
31 static Request* create(ExecutionContext*, const String&, const Dictionary&, ExceptionState&); 28 static Request* create(ExecutionContext*, const String&, const Dictionary&, ExceptionState&);
32 static Request* create(ExecutionContext*, Request*, ExceptionState&); 29 static Request* create(ExecutionContext*, Request*, ExceptionState&);
33 static Request* create(ExecutionContext*, Request*, const Dictionary&, Excep tionState&); 30 static Request* create(ExecutionContext*, Request*, const Dictionary&, Excep tionState&);
(...skipping 30 matching lines...) Expand all
64 61
65 virtual PassRefPtr<BlobDataHandle> blobDataHandle() override; 62 virtual PassRefPtr<BlobDataHandle> blobDataHandle() override;
66 63
67 const Member<FetchRequestData> m_request; 64 const Member<FetchRequestData> m_request;
68 const Member<Headers> m_headers; 65 const Member<Headers> m_headers;
69 }; 66 };
70 67
71 } // namespace blink 68 } // namespace blink
72 69
73 #endif // Request_h 70 #endif // Request_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/InstallEvent.h ('k') | Source/modules/serviceworkers/RespondWithObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698