OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ | 5 #ifndef CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ |
6 #define CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ | 6 #define CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "base/time.h" | 13 #include "base/time/time.h" |
14 #include "chromeos/chromeos_export.h" | 14 #include "chromeos/chromeos_export.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class Value; | 17 class Value; |
18 } | 18 } |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 // Namespace for functions for logging network events. | 22 // Namespace for functions for logging network events. |
23 namespace network_event_log { | 23 namespace network_event_log { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // Macro to include file and line number info in the event log. | 109 // Macro to include file and line number info in the event log. |
110 #define NET_LOG_LEVEL(log_level, event, description) \ | 110 #define NET_LOG_LEVEL(log_level, event, description) \ |
111 ::chromeos::network_event_log::internal::AddEntry( \ | 111 ::chromeos::network_event_log::internal::AddEntry( \ |
112 __FILE__, __LINE__, log_level, event, description) | 112 __FILE__, __LINE__, log_level, event, description) |
113 | 113 |
114 } // namespace network_event_log | 114 } // namespace network_event_log |
115 | 115 |
116 } // namespace chromeos | 116 } // namespace chromeos |
117 | 117 |
118 #endif // CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ | 118 #endif // CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ |
OLD | NEW |