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