1 // Copyright 2016 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_BASE_TRACE_CONSTANTS_H_ 6 #define NET_BASE_TRACE_CONSTANTS_H_ 7 8 #include "base/trace_event/common/trace_event_common.h" 9 10 namespace net { 11 12 // Net Category used in Tracing. NetTracingCategory()13constexpr const char* NetTracingCategory() { 14 // Declared as a constexpr function to have an external linkage and to be 15 // known at compile-time. 16 return TRACE_DISABLED_BY_DEFAULT("net"); 17 } 18 19 } // namespace net 20 21 #endif // NET_BASE_TRACE_CONSTANTS_H_ 22