Index: remoting/test/app_remoting_report_issue_request.cc |
diff --git a/remoting/test/app_remoting_report_issue_request.cc b/remoting/test/app_remoting_report_issue_request.cc |
index 570a9a0b3db2d653467dc9390ae43e1a1c3dd60d..1769f239640931bca139183462875e4e4c60551e 100644 |
--- a/remoting/test/app_remoting_report_issue_request.cc |
+++ b/remoting/test/app_remoting_report_issue_request.cc |
@@ -10,6 +10,7 @@ |
#include "base/threading/thread_task_runner_handle.h" |
#include "net/http/http_response_headers.h" |
#include "net/http/http_status_code.h" |
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h" |
#include "net/url_request/url_fetcher.h" |
#include "remoting/base/url_request_context_getter.h" |
@@ -54,8 +55,8 @@ bool AppRemotingReportIssueRequest::Start( |
std::string upload_data = abandon_host ? "{ 'abandonHost': 'true' }" : "{}"; |
- request_ = |
- net::URLFetcher::Create(GURL(service_url), net::URLFetcher::POST, this); |
+ request_ = net::URLFetcher::Create(GURL(service_url), net::URLFetcher::POST, |
+ this, TRAFFIC_ANNOTATION_FOR_TESTS); |
request_->SetRequestContext(request_context_getter_.get()); |
request_->AddExtraRequestHeader("Authorization: OAuth " + access_token); |
request_->AddExtraRequestHeader(kRequestTestOrigin); |