summaryrefslogtreecommitdiff
path: root/chromium/net/base/trace_constants.h
blob: 0b770240cff38875cef8d2b87b7ad8ac7bf41518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_BASE_TRACE_CONSTANTS_H_
#define NET_BASE_TRACE_CONSTANTS_H_

#include "base/trace_event/common/trace_event_common.h"

namespace net {

// Net Category used in Tracing.
constexpr const char* NetTracingCategory() {
  // Declared as a constexpr function to have an external linkage and to be
  // known at compile-time.
  return TRACE_DISABLED_BY_DEFAULT("net");
}

}  // namespace net

#endif  // NET_BASE_TRACE_CONSTANTS_H_