Index: google_apis/drive/base_requests.cc |
diff --git a/google_apis/drive/base_requests.cc b/google_apis/drive/base_requests.cc |
index 39492d0f34474ae3f117252dbb9f449784addb4d..93d6cb1ccb0637eab776ab3434a61498ef090163 100644 |
--- a/google_apis/drive/base_requests.cc |
+++ b/google_apis/drive/base_requests.cc |
@@ -37,6 +37,7 @@ |
#include "net/http/http_byte_range.h" |
#include "net/http/http_response_headers.h" |
#include "net/http/http_util.h" |
+#include "net/traffic_annotation/network_traffic_annotation.h" |
#include "net/url_request/url_fetcher.h" |
#include "net/url_request/url_request_status.h" |
@@ -399,7 +400,8 @@ void UrlFetchRequestBase::StartAfterPrepare( |
DVLOG(1) << "URL: " << url.spec(); |
URLFetcher::RequestType request_type = GetRequestType(); |
- url_fetcher_ = URLFetcher::Create(url, request_type, this); |
+ url_fetcher_ = URLFetcher::Create(url, request_type, this, |
+ sender_->get_traffic_annotation_tag()); |
url_fetcher_->SetRequestContext(sender_->url_request_context_getter()); |
// Always set flags to neither send nor save cookies. |
url_fetcher_->SetLoadFlags( |