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

Unified Diff: Source/core/workers/WorkerScriptLoader.h

Issue 360233005: Replace 'ResourceRequest::TargetType' with 'ResourceRequest::RequestContext'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/workers/WorkerScriptLoader.h
diff --git a/Source/core/workers/WorkerScriptLoader.h b/Source/core/workers/WorkerScriptLoader.h
index 00be0ba6624aad799806e783d06a169f14f6f47a..14bd126a18daf92e102f3238363e74f09b584e6b 100644
--- a/Source/core/workers/WorkerScriptLoader.h
+++ b/Source/core/workers/WorkerScriptLoader.h
@@ -76,7 +76,7 @@ namespace WebCore {
virtual void didFail(const ResourceError&) OVERRIDE;
virtual void didFailRedirectCheck() OVERRIDE;
- void setTargetType(ResourceRequest::TargetType targetType) { m_targetType = targetType; }
+ void setRequestContext(ResourceRequest::RequestContext requestContext) { m_requestContext = requestContext; }
private:
friend class WTF::RefCounted<WorkerScriptLoader>;
@@ -97,7 +97,7 @@ namespace WebCore {
bool m_failed;
unsigned long m_identifier;
bool m_finishing;
- ResourceRequest::TargetType m_targetType;
+ ResourceRequest::RequestContext m_requestContext;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698