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

Unified Diff: components/cryptauth/cryptauth_api_call_flow_unittest.cc

Issue 2888053003: Network traffic annotation added to OAuth2ApiCallFlow and its subclasses. (Closed)
Patch Set: Annotations updated. 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 | « components/cryptauth/cryptauth_api_call_flow.cc ('k') | components/cryptauth/cryptauth_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/cryptauth_api_call_flow_unittest.cc
diff --git a/components/cryptauth/cryptauth_api_call_flow_unittest.cc b/components/cryptauth/cryptauth_api_call_flow_unittest.cc
index cbc6701e4f881dde46ea3a2d05f5c51feadd4040..2c97320736ad31a37f311f032fc41c3671aa03df 100644
--- a/components/cryptauth/cryptauth_api_call_flow_unittest.cc
+++ b/components/cryptauth/cryptauth_api_call_flow_unittest.cc
@@ -30,7 +30,10 @@ class CryptAuthApiCallFlowTest
protected:
CryptAuthApiCallFlowTest()
: url_request_context_getter_(new net::TestURLRequestContextGetter(
- new base::TestSimpleTaskRunner())) {}
+ new base::TestSimpleTaskRunner())) {
+ flow_.SetPartialNetworkTrafficAnnotation(
+ PARTIAL_TRAFFIC_ANNOTATION_FOR_TESTS);
+ }
void SetUp() override {
// The TestURLFetcherFactory will override the global URLFetcherFactory for
« no previous file with comments | « components/cryptauth/cryptauth_api_call_flow.cc ('k') | components/cryptauth/cryptauth_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698