| Index: remoting/client/plugin/pepper_url_request.cc
|
| diff --git a/remoting/client/plugin/pepper_url_request.cc b/remoting/client/plugin/pepper_url_request.cc
|
| index 33a733a1ca744204924b31e770f14df679963fcb..05779a90fdd6c32aca912c6ad9e096b597a7778a 100644
|
| --- a/remoting/client/plugin/pepper_url_request.cc
|
| +++ b/remoting/client/plugin/pepper_url_request.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/callback_helpers.h"
|
| #include "base/logging.h"
|
| #include "base/memory/ptr_util.h"
|
| +#include "net/traffic_annotation/network_traffic_annotation.h"
|
| #include "ppapi/cpp/url_response_info.h"
|
|
|
| // Read buffer we allocate per read when reading response from
|
| @@ -15,9 +16,11 @@ static const int kReadSize = 1024;
|
|
|
| namespace remoting {
|
|
|
| -PepperUrlRequest::PepperUrlRequest(pp::InstanceHandle pp_instance,
|
| - UrlRequest::Type type,
|
| - const std::string& url)
|
| +PepperUrlRequest::PepperUrlRequest(
|
| + pp::InstanceHandle pp_instance,
|
| + UrlRequest::Type type,
|
| + const std::string& url,
|
| + const net::NetworkTrafficAnnotationTag& traffic_annotation)
|
| : request_info_(pp_instance),
|
| url_loader_(pp_instance),
|
| url_(url),
|
| @@ -110,8 +113,10 @@ PepperUrlRequestFactory::~PepperUrlRequestFactory() {}
|
|
|
| std::unique_ptr<UrlRequest> PepperUrlRequestFactory::CreateUrlRequest(
|
| UrlRequest::Type type,
|
| - const std::string& url) {
|
| - return base::MakeUnique<PepperUrlRequest>(pp_instance_, type, url);
|
| + const std::string& url,
|
| + const net::NetworkTrafficAnnotationTag& traffic_annotation) {
|
| + return base::MakeUnique<PepperUrlRequest>(pp_instance_, type, url,
|
| + traffic_annotation);
|
| }
|
|
|
| } // namespace remoting
|
|
|