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

Unified Diff: net/url_request/url_request_context.cc

Issue 2421333002: Protobuf for Traffic Annotation and first use by a URLFetcher. (Closed)
Patch Set: More comments added. Created 3 years, 10 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 | « net/url_request/url_request_context.h ('k') | tools/traffic_annotation/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.cc
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc
index cefa7b9db2593c3e0abc8ed1d39485fef36e267b..690f932bffae4245f5a48e02b86ed1a808c20e2e 100644
--- a/net/url_request/url_request_context.cc
+++ b/net/url_request/url_request_context.cc
@@ -101,6 +101,16 @@ std::unique_ptr<URLRequest> URLRequestContext::CreateRequest(
new URLRequest(url, priority, delegate, this, network_delegate_));
}
+std::unique_ptr<URLRequest> URLRequestContext::CreateRequest(
+ const GURL& url,
+ RequestPriority priority,
+ URLRequest::Delegate* delegate,
+ NetworkTrafficAnnotationTag traffic_annotation) const {
+ // |traffic_annotation| is just a tag that is extracted during static
+ // code analysis and can be ignored here.
+ return CreateRequest(url, priority, delegate);
+}
+
void URLRequestContext::set_cookie_store(CookieStore* cookie_store) {
cookie_store_ = cookie_store;
}
« no previous file with comments | « net/url_request/url_request_context.h ('k') | tools/traffic_annotation/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698