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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp

Issue 2880733002: Partially implement WorkerFetchContext and WorkerThreadableLoadingContext and add virtual tests (Closed)
Patch Set: incorporated kinuko's comment Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp
index 60db84572149354eff3a0ab4487921945843322e..d6a19cca8c124ce45edbbfb422c7b850cfc9b715 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.cpp
@@ -75,6 +75,9 @@ ResourceRequest::ResourceRequest(const KURL& url)
check_for_browser_side_navigation_(true),
ui_start_time_(0),
is_external_request_(false),
+ loading_ipc_type_(RuntimeEnabledFeatures::loadingWithMojoEnabled()
+ ? WebURLRequest::LoadingIPCType::kMojo
+ : WebURLRequest::LoadingIPCType::kChromeIPC),
is_same_document_navigation_(false),
input_perf_metric_report_policy_(
InputToLoadPerfMetricReportPolicy::kNoReport),
@@ -114,6 +117,7 @@ ResourceRequest::ResourceRequest(CrossThreadResourceRequestData* data)
check_for_browser_side_navigation_ = data->check_for_browser_side_navigation_;
ui_start_time_ = data->ui_start_time_;
is_external_request_ = data->is_external_request_;
+ loading_ipc_type_ = data->loading_ipc_type_;
input_perf_metric_report_policy_ = data->input_perf_metric_report_policy_;
redirect_status_ = data->redirect_status_;
}
@@ -162,6 +166,7 @@ std::unique_ptr<CrossThreadResourceRequestData> ResourceRequest::CopyData()
data->check_for_browser_side_navigation_ = check_for_browser_side_navigation_;
data->ui_start_time_ = ui_start_time_;
data->is_external_request_ = is_external_request_;
+ data->loading_ipc_type_ = loading_ipc_type_;
data->input_perf_metric_report_policy_ = input_perf_metric_report_policy_;
data->redirect_status_ = redirect_status_;
return data;
« no previous file with comments | « third_party/WebKit/Source/platform/loader/fetch/ResourceRequest.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698