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

Unified Diff: chrome/service/cloud_print/cloud_print_url_fetcher.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_url_fetcher.h
diff --git a/chrome/service/cloud_print/cloud_print_url_fetcher.h b/chrome/service/cloud_print/cloud_print_url_fetcher.h
index 2c40df1894f3d574ceb5dd98f39c18cf305c0628..50cc6c77bc6b8cba98558d3f23562091fa925d2c 100644
--- a/chrome/service/cloud_print/cloud_print_url_fetcher.h
+++ b/chrome/service/cloud_print/cloud_print_url_fetcher.h
@@ -115,7 +115,9 @@ class CloudPrintURLFetcher
virtual ~Delegate() {}
};
- static CloudPrintURLFetcher* Create();
+ static CloudPrintURLFetcher* Create(
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
static void set_test_factory(CloudPrintURLFetcherFactory* factory);
bool IsSameRequest(const net::URLFetcher* source);
@@ -137,7 +139,8 @@ class CloudPrintURLFetcher
void OnURLFetchComplete(const net::URLFetcher* source) override;
protected:
- CloudPrintURLFetcher();
+ CloudPrintURLFetcher(const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
friend class base::RefCountedThreadSafe<CloudPrintURLFetcher>;
~CloudPrintURLFetcher() override;
@@ -164,6 +167,7 @@ class CloudPrintURLFetcher
RequestType type_;
base::Time start_time_;
+ const net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation_;
};
} // namespace cloud_print
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy_backend.cc ('k') | chrome/service/cloud_print/cloud_print_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698