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

Unified Diff: remoting/client/plugin/pepper_url_request.h

Issue 2729423003: Network traffic annotation added to chromium_url_request. (Closed)
Patch Set: Annotation updated. Created 3 years, 7 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 | « remoting/base/url_request.h ('k') | remoting/client/plugin/pepper_url_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_url_request.h
diff --git a/remoting/client/plugin/pepper_url_request.h b/remoting/client/plugin/pepper_url_request.h
index e666aca523d547462824bcabcc13c16559af3a41..f27ca0149df44205f229bc46d6f730aeca4eb9e8 100644
--- a/remoting/client/plugin/pepper_url_request.h
+++ b/remoting/client/plugin/pepper_url_request.h
@@ -6,6 +6,7 @@
#define REMOTING_CLIENT_PLUGIN_PEPPER_URL_LOADER_H_
#include "base/callback.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "ppapi/cpp/instance_handle.h"
#include "ppapi/cpp/url_loader.h"
#include "ppapi/cpp/url_request_info.h"
@@ -19,7 +20,8 @@ class PepperUrlRequest : public UrlRequest {
public:
PepperUrlRequest(pp::InstanceHandle pp_instance,
UrlRequest::Type type,
- const std::string& url);
+ const std::string& url,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation);
~PepperUrlRequest() override;
// UrlRequest interface.
@@ -54,8 +56,10 @@ class PepperUrlRequestFactory : public UrlRequestFactory {
~PepperUrlRequestFactory() override;
// UrlRequestFactory interface.
- std::unique_ptr<UrlRequest> CreateUrlRequest(UrlRequest::Type type,
- const std::string& url) override;
+ std::unique_ptr<UrlRequest> CreateUrlRequest(
+ UrlRequest::Type type,
+ const std::string& url,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation) override;
private:
pp::InstanceHandle pp_instance_;
« no previous file with comments | « remoting/base/url_request.h ('k') | remoting/client/plugin/pepper_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698