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

Unified Diff: google_apis/drive/request_sender.cc

Issue 2728323002: Network traffic annotation added to drive/base_requests. (Closed)
Patch Set: Annoatation udpated. Created 3 years, 9 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 | « google_apis/drive/request_sender.h ('k') | google_apis/drive/request_sender_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/request_sender.cc
diff --git a/google_apis/drive/request_sender.cc b/google_apis/drive/request_sender.cc
index dc946881c0d472522ff2d710bd4ca50472c9f9c8..9681f657ff2885a1cf4208d4acf2ad9ec3c23d07 100644
--- a/google_apis/drive/request_sender.cc
+++ b/google_apis/drive/request_sender.cc
@@ -18,13 +18,14 @@ RequestSender::RequestSender(
AuthServiceInterface* auth_service,
net::URLRequestContextGetter* url_request_context_getter,
const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner,
- const std::string& custom_user_agent)
+ const std::string& custom_user_agent,
+ const net::NetworkTrafficAnnotationTag& traffic_annotation)
: auth_service_(auth_service),
url_request_context_getter_(url_request_context_getter),
blocking_task_runner_(blocking_task_runner),
custom_user_agent_(custom_user_agent),
- weak_ptr_factory_(this) {
-}
+ traffic_annotation_(traffic_annotation),
+ weak_ptr_factory_(this) {}
RequestSender::~RequestSender() {
DCHECK(thread_checker_.CalledOnValidThread());
« no previous file with comments | « google_apis/drive/request_sender.h ('k') | google_apis/drive/request_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698