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

Unified Diff: chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.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 | « no previous file | chrome/browser/extensions/api/gcd_private/privet_v3_session.cc » ('j') | 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_context_getter_unittest.cc
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc b/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc
index 06ffe44b67092d7f10ec5d1b916dcc5017a20f41..0cd5ada3da6addb6f439e0055f0607b840c726d4 100644
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter_unittest.cc
@@ -14,6 +14,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/test/test_browser_thread_bundle.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
+#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "net/url_request/url_fetcher.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -62,7 +63,8 @@ class PrivetV3ContextGetterTest : public testing::Test,
quit_ = run_loop.QuitClosure();
fetcher_ = net::URLFetcher::Create(server_->GetURL("/simple.html"),
- net::URLFetcher::GET, this);
+ net::URLFetcher::GET, this,
+ TRAFFIC_ANNOTATION_FOR_TESTS);
fetcher_->SetRequestContext(context_getter_.get());
fetcher_->Start();
« no previous file with comments | « no previous file | chrome/browser/extensions/api/gcd_private/privet_v3_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698