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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 2831513002: [DO NOT COMMIT] routing ID + CHECK
Patch Set: fix Created 3 years, 8 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 | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index 716adc96f28500ec3e7b242ef1efaa917c216b88..ff1f79d617a13717fd0c4e186376a8a28f752b1d 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -634,6 +634,7 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
if (sync_load_response) {
DCHECK(defers_loading_ == NOT_DEFERRING);
+ CHECK(request.RequestorID());
resource_dispatcher_->StartSync(
std::move(resource_request), request.RequestorID(), sync_load_response,
request.GetLoadingIPCType(), url_loader_factory_);
@@ -642,6 +643,7 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
TRACE_EVENT_WITH_FLOW0("loading", "WebURLLoaderImpl::Context::Start", this,
TRACE_EVENT_FLAG_FLOW_OUT);
+ CHECK(request.RequestorID());
request_id_ = resource_dispatcher_->StartAsync(
std::move(resource_request), request.RequestorID(), task_runner_,
extra_data->frame_origin(),
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698