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

Unified Diff: content/browser/loader/resource_message_filter.cc

Issue 2893233002: Network traffic annotation added to URLLoaderImpl. (Closed)
Patch Set: Mutable network traffic annotation added. 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
Index: content/browser/loader/resource_message_filter.cc
diff --git a/content/browser/loader/resource_message_filter.cc b/content/browser/loader/resource_message_filter.cc
index d5b751dd0182535d16213b6d177c9e574bc366af..60b7fe30d4419d8af6d38e2e5ceccd08cc35e9b4 100644
--- a/content/browser/loader/resource_message_filter.cc
+++ b/content/browser/loader/resource_message_filter.cc
@@ -90,11 +90,13 @@ void ResourceMessageFilter::CreateLoaderAndStart(
int32_t request_id,
uint32_t options,
const ResourceRequest& url_request,
- mojom::URLLoaderClientPtr client) {
+ mojom::URLLoaderClientPtr client,
+ const net::MutableNetworkTrafficAnnotationTag& traffic_annotation) {
DCHECK_EQ(options, mojom::kURLLoadOptionNone);
URLLoaderFactoryImpl::CreateLoaderAndStart(
requester_info_.get(), std::move(request), routing_id, request_id,
- url_request, std::move(client));
+ url_request, std::move(client),
+ static_cast<net::NetworkTrafficAnnotationTag>(traffic_annotation));
}
void ResourceMessageFilter::SyncLoad(int32_t routing_id,

Powered by Google App Engine
This is Rietveld 408576698