| Index: remoting/test/remote_host_info_fetcher.cc
|
| diff --git a/remoting/test/remote_host_info_fetcher.cc b/remoting/test/remote_host_info_fetcher.cc
|
| index c7a0bc4706cbd0d2e0cb0508445781fc6c7099e3..6ee831b0d10f8200edf02c69eff762e9072a756b 100644
|
| --- a/remoting/test/remote_host_info_fetcher.cc
|
| +++ b/remoting/test/remote_host_info_fetcher.cc
|
| @@ -13,6 +13,7 @@
|
| #include "base/values.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"
|
|
|
| @@ -56,8 +57,8 @@ bool RemoteHostInfoFetcher::RetrieveRemoteHostInfo(
|
| base::ThreadTaskRunnerHandle::Get(), // network_runner
|
| base::ThreadTaskRunnerHandle::Get()); // file_runner
|
|
|
| - 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);
|
|
|