1 // Copyright 2017 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_TEST_HELPER_H_ 6 #define NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_TEST_HELPER_H_ 7 8 #include "net/traffic_annotation/network_traffic_annotation.h" 9 10 // Macros for tests traffic annotations. 11 #define TRAFFIC_ANNOTATION_FOR_TESTS \ 12 net::DefineNetworkTrafficAnnotation( \ 13 "test", "Traffic annotation for unit, browser and other tests") 14 #define PARTIAL_TRAFFIC_ANNOTATION_FOR_TESTS \ 15 net::DefinePartialNetworkTrafficAnnotation( \ 16 "test_partial", "test", \ 17 "Partial traffic annotation for unit, browser and other tests") 18 19 #endif // NET_TRAFFIC_ANNOTATION_NETWORK_TRAFFIC_ANNOTATION_TEST_HELPER_H_ 20