xref: /aosp_15_r20/external/cronet/net/log/net_log_source_type.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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_LOG_NET_LOG_SOURCE_TYPE_H_
6 #define NET_LOG_NET_LOG_SOURCE_TYPE_H_
7 
8 #include <stdint.h>
9 
10 namespace net {
11 
12 // The "source" identifies the entity that generated the log message.
13 enum class NetLogSourceType : uint32_t {
14 #define SOURCE_TYPE(label) label,
15 #include "net/log/net_log_source_type_list.h"
16 #undef SOURCE_TYPE
17   COUNT
18 };
19 
20 }  // namespace net
21 
22 #endif  // NET_LOG_NET_LOG_SOURCE_TYPE_H_
23