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

Unified Diff: chrome/service/cloud_print/cloud_print_wipeout.h

Issue 2888763004: Network traffic annotation added to CloudPrintUrlFetcher. (Closed)
Patch Set: nits Created 3 years, 6 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
Index: chrome/service/cloud_print/cloud_print_wipeout.h
diff --git a/chrome/service/cloud_print/cloud_print_wipeout.h b/chrome/service/cloud_print/cloud_print_wipeout.h
index ec2d40f0dfd205e9922fe502aae8e39f285f7ee7..4a3a3d2fad98045c4d0899e37682183e7fbf702d 100644
--- a/chrome/service/cloud_print/cloud_print_wipeout.h
+++ b/chrome/service/cloud_print/cloud_print_wipeout.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "chrome/service/cloud_print/cloud_print_url_fetcher.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "url/gurl.h"
namespace cloud_print {
@@ -24,7 +25,10 @@ class CloudPrintWipeout : public CloudPrintURLFetcher::Delegate {
virtual ~Client() {}
};
- CloudPrintWipeout(Client* client, const GURL& cloud_print_server_url);
+ CloudPrintWipeout(Client* client,
+ const GURL& cloud_print_server_url,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
~CloudPrintWipeout() override;
void UnregisterPrinters(const std::string& auth_token,
@@ -53,6 +57,8 @@ class CloudPrintWipeout : public CloudPrintURLFetcher::Delegate {
std::string auth_token_;
// List of printer to unregister
std::list<std::string> printer_ids_;
+ // Partial network traffic annotation for network requests.
+ const net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation_;
DISALLOW_COPY_AND_ASSIGN(CloudPrintWipeout);
};
« no previous file with comments | « chrome/service/cloud_print/cloud_print_url_fetcher_unittest.cc ('k') | chrome/service/cloud_print/cloud_print_wipeout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698