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

Unified Diff: net/traffic_annotation/network_traffic_annotation.h

Issue 2890293005: Network traffic annotation stored in url_request. (Closed)
Patch Set: Created 3 years, 7 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 | « ios/chrome/test/app/signin_test_util.mm ('k') | net/url_request/test_url_fetcher_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/traffic_annotation/network_traffic_annotation.h
diff --git a/net/traffic_annotation/network_traffic_annotation.h b/net/traffic_annotation/network_traffic_annotation.h
index 989f4f348300272732063cee88ea1da2ed9c8b6f..557dac35142c9a1c095d6f7a9c51cabfe315ec27 100644
--- a/net/traffic_annotation/network_traffic_annotation.h
+++ b/net/traffic_annotation/network_traffic_annotation.h
@@ -37,6 +37,10 @@ constexpr NetworkTrafficAnnotationTag DefineNetworkTrafficAnnotation(
// Placeholder for unannotated usages.
#define NO_TRAFFIC_ANNOTATION_YET \
- net::DefineNetworkTrafficAnnotation("Undefined", "Nothing here yet.")
+ net::DefineNetworkTrafficAnnotation("undefined", "Nothing here yet.")
+
+#define MISSING_TRAFFIC_ANNOTATION \
+ net::DefineNetworkTrafficAnnotation( \
+ "missing", "Function called without traffic annotation.")
#endif // NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_H_
« no previous file with comments | « ios/chrome/test/app/signin_test_util.mm ('k') | net/url_request/test_url_fetcher_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698