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

Side by Side Diff: Source/modules/serviceworkers/FetchRequestData.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
« no previous file with comments | « Source/modules/serviceworkers/FetchManager.h ('k') | Source/modules/serviceworkers/Headers.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 FetchRequestData_h 5 #ifndef FetchRequestData_h
6 #define FetchRequestData_h 6 #define FetchRequestData_h
7 7
8 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
9 #include "platform/weborigin/KURL.h" 9 #include "platform/weborigin/KURL.h"
10 #include "platform/weborigin/Referrer.h" 10 #include "platform/weborigin/Referrer.h"
11 #include "wtf/PassOwnPtr.h" 11 #include "wtf/PassOwnPtr.h"
12 #include "wtf/PassRefPtr.h" 12 #include "wtf/PassRefPtr.h"
13 #include "wtf/text/AtomicString.h" 13 #include "wtf/text/AtomicString.h"
14 #include "wtf/text/WTFString.h" 14 #include "wtf/text/WTFString.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class BlobDataHandle; 18 class BlobDataHandle;
19 class ExecutionContext; 19 class ExecutionContext;
20 class FetchHeaderList; 20 class FetchHeaderList;
21 struct ResourceLoaderOptions;
22 class ResourceRequest;
23 class SecurityOrigin; 21 class SecurityOrigin;
24 struct ThreadableLoaderOptions;
25 class WebServiceWorkerRequest; 22 class WebServiceWorkerRequest;
26 23
27 class FetchRequestData final : public GarbageCollectedFinalized<FetchRequestData > { 24 class FetchRequestData final : public GarbageCollectedFinalized<FetchRequestData > {
28 WTF_MAKE_NONCOPYABLE(FetchRequestData); 25 WTF_MAKE_NONCOPYABLE(FetchRequestData);
29 public: 26 public:
30 enum Mode { SameOriginMode, NoCORSMode, CORSMode, CORSWithForcedPreflight }; 27 enum Mode { SameOriginMode, NoCORSMode, CORSMode, CORSWithForcedPreflight };
31 enum Credentials { OmitCredentials, SameOriginCredentials, IncludeCredential s }; 28 enum Credentials { OmitCredentials, SameOriginCredentials, IncludeCredential s };
32 enum Context { ChildContext, ConnectContext, DownloadContext, FontContext, F ormContext, ImageContext, ManifestContext, MediaContext, NavigateContext, Object Context, PingContext, PopupContext, PrefetchContext, ScriptContext, ServiceWorke rContext, SharedWorkerContext, StyleContext, WorkerContext, NullContext }; 29 enum Context { ChildContext, ConnectContext, DownloadContext, FontContext, F ormContext, ImageContext, ManifestContext, MediaContext, NavigateContext, Object Context, PingContext, PopupContext, PrefetchContext, ScriptContext, ServiceWorke rContext, SharedWorkerContext, StyleContext, WorkerContext, NullContext };
33 enum Tainting { BasicTainting, CORSTainting, OpaqueTainting }; 30 enum Tainting { BasicTainting, CORSTainting, OpaqueTainting };
34 31
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 Credentials m_credentials; 105 Credentials m_credentials;
109 // FIXME: Support m_useURLCredentialsFlag; 106 // FIXME: Support m_useURLCredentialsFlag;
110 // FIXME: Support m_manualRedirectFlag; 107 // FIXME: Support m_manualRedirectFlag;
111 // FIXME: Support m_redirectCount; 108 // FIXME: Support m_redirectCount;
112 Tainting m_responseTainting; 109 Tainting m_responseTainting;
113 }; 110 };
114 111
115 } // namespace blink 112 } // namespace blink
116 113
117 #endif // FetchRequestData_h 114 #endif // FetchRequestData_h
OLDNEW
« no previous file with comments | « Source/modules/serviceworkers/FetchManager.h ('k') | Source/modules/serviceworkers/Headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698