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

Unified Diff: chrome/service/cloud_print/cloud_print_auth.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 | « no previous file | chrome/service/cloud_print/cloud_print_auth.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/cloud_print/cloud_print_auth.h
diff --git a/chrome/service/cloud_print/cloud_print_auth.h b/chrome/service/cloud_print/cloud_print_auth.h
index 05f9c70dec5d627c4a3106987f70f80450904cb9..d19dafb0d689d5a45491532532e64738b5ad0f5f 100644
--- a/chrome/service/cloud_print/cloud_print_auth.h
+++ b/chrome/service/cloud_print/cloud_print_auth.h
@@ -12,6 +12,7 @@
#include "base/values.h"
#include "chrome/service/cloud_print/cloud_print_url_fetcher.h"
#include "google_apis/gaia/gaia_oauth_client.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "url/gurl.h"
namespace cloud_print {
@@ -41,7 +42,9 @@ class CloudPrintAuth : public base::RefCountedThreadSafe<CloudPrintAuth>,
CloudPrintAuth(Client* client,
const GURL& cloud_print_server_url,
const gaia::OAuthClientInfo& oauth_client_info,
- const std::string& proxy_id);
+ const std::string& proxy_id,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
// Note:
//
@@ -100,6 +103,8 @@ class CloudPrintAuth : public base::RefCountedThreadSafe<CloudPrintAuth>,
// client login token used to authenticate request to cloud print server to
// get the robot account.
std::string client_login_token_;
+ // Partial network traffic annotation for network requests.
+ const net::PartialNetworkTrafficAnnotationTag partial_traffic_annotation_;
DISALLOW_COPY_AND_ASSIGN(CloudPrintAuth);
};
« no previous file with comments | « no previous file | chrome/service/cloud_print/cloud_print_auth.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698