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

Unified Diff: chrome/browser/extensions/api/gcd_private/privet_v3_session.cc

Issue 2693933002: Network traffic annotation added to PrivetV3Session. (Closed)
Patch Set: No-Annotaion flag added. Created 3 years, 10 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/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc b/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
index adf66eb114f1b0f263bfeaadd097b0e93daa7463..389d2cf7ad8e62990a52d1267b98d2806e49e4c5 100644
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_session.cc
@@ -19,6 +19,7 @@
#include "crypto/p224_spake.h"
#include "net/base/load_flags.h"
#include "net/http/http_response_headers.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "url/gurl.h"
@@ -171,7 +172,8 @@ net::URLFetcher* PrivetV3Session::FetcherDelegate::CreateURLFetcher(
bool orphaned) {
DCHECK(!url_fetcher_);
DCHECK(session_);
- url_fetcher_ = net::URLFetcher::Create(url, request_type, this);
+ url_fetcher_ = net::URLFetcher::Create(url, request_type, this,
+ NO_TRAFFIC_ANNOTATION_YET);
auto timeout_task =
orphaned ? base::Bind(&FetcherDelegate::OnTimeout, base::Owned(this))
: base::Bind(&FetcherDelegate::OnTimeout,
« no previous file with comments | « chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698