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

Unified Diff: Source/modules/serviceworkers/FetchRequestData.h

Issue 726503002: [ServiceWorker] Stop using FetchRequestData::Context (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | Source/modules/serviceworkers/FetchRequestData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/FetchRequestData.h
diff --git a/Source/modules/serviceworkers/FetchRequestData.h b/Source/modules/serviceworkers/FetchRequestData.h
index ffcaa35b21bfd713775f835a0c36de66e95c3233..1e2277e7877f234a1ab84cce3090d6d650abb5fc 100644
--- a/Source/modules/serviceworkers/FetchRequestData.h
+++ b/Source/modules/serviceworkers/FetchRequestData.h
@@ -25,7 +25,6 @@ class WebServiceWorkerRequest;
class FetchRequestData final : public GarbageCollectedFinalized<FetchRequestData> {
WTF_MAKE_NONCOPYABLE(FetchRequestData);
public:
- enum Context { ChildContext, ConnectContext, DownloadContext, FontContext, FormContext, ImageContext, ManifestContext, MediaContext, NavigateContext, ObjectContext, PingContext, PopupContext, PrefetchContext, ScriptContext, ServiceWorkerContext, SharedWorkerContext, StyleContext, WorkerContext, NullContext };
enum Tainting { BasicTainting, CORSTainting, OpaqueTainting };
class Referrer final {
@@ -93,7 +92,7 @@ private:
RefPtr<BlobDataHandle> m_blobDataHandle;
bool m_unsafeRequestFlag;
// FIXME: Support m_skipServiceWorkerFlag;
- Context m_context;
+ WebURLRequest::RequestContext m_context;
RefPtr<SecurityOrigin> m_origin;
// FIXME: Support m_forceOriginHeaderFlag;
bool m_sameOriginDataURLFlag;
« no previous file with comments | « no previous file | Source/modules/serviceworkers/FetchRequestData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698