net_log_source_type.h 568 B

12345678910111213141516171819202122
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef NET_LOG_NET_LOG_SOURCE_TYPE_H_
  5. #define NET_LOG_NET_LOG_SOURCE_TYPE_H_
  6. #include <stdint.h>
  7. namespace net {
  8. // The "source" identifies the entity that generated the log message.
  9. enum class NetLogSourceType : uint32_t {
  10. #define SOURCE_TYPE(label) label,
  11. #include "net/log/net_log_source_type_list.h"
  12. #undef SOURCE_TYPE
  13. COUNT
  14. };
  15. } // namespace net
  16. #endif // NET_LOG_NET_LOG_SOURCE_TYPE_H_