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

Unified Diff: chrome/service/cloud_print/job_status_updater.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
« no previous file with comments | « chrome/service/cloud_print/cloud_print_wipeout.cc ('k') | chrome/service/cloud_print/job_status_updater.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/job_status_updater.h
diff --git a/chrome/service/cloud_print/job_status_updater.h b/chrome/service/cloud_print/job_status_updater.h
index 92160b961f1a26c370b2276cb87f8cb5e95f9288..34d4b4f19c15165fc3a0cfae2bfeefaf00f7bb11 100644
--- a/chrome/service/cloud_print/job_status_updater.h
+++ b/chrome/service/cloud_print/job_status_updater.h
@@ -13,6 +13,7 @@
#include "base/threading/thread.h"
#include "chrome/service/cloud_print/cloud_print_url_fetcher.h"
#include "chrome/service/cloud_print/print_system.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_request_status.h"
#include "url/gurl.h"
@@ -39,7 +40,9 @@ class JobStatusUpdater : public base::RefCountedThreadSafe<JobStatusUpdater>,
PlatformJobId local_job_id,
const GURL& cloud_print_server_url,
PrintSystem* print_system,
- Delegate* delegate);
+ Delegate* delegate,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
// Checks the status of the local print job and sends an update.
void UpdateStatus();
@@ -74,6 +77,9 @@ class JobStatusUpdater : public base::RefCountedThreadSafe<JobStatusUpdater>,
// A flag that is set to true in Stop() and will ensure the next scheduled
// task will do nothing.
bool stopped_;
+ // Partial network traffic annotation for network requests.
+ const net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation_;
+
DISALLOW_COPY_AND_ASSIGN(JobStatusUpdater);
};
« no previous file with comments | « chrome/service/cloud_print/cloud_print_wipeout.cc ('k') | chrome/service/cloud_print/job_status_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698