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" | |
12 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
13 #include "base/time/time.h" | 12 #include "base/time/time.h" |
14 #include "chromeos/chromeos_export.h" | 13 #include "chromeos/chromeos_export.h" |
15 #include "components/device_event_log/device_event_log.h" | 14 #include "components/device_event_log/device_event_log.h" |
16 | 15 |
17 namespace base { | 16 namespace base { |
18 class Value; | 17 class Value; |
19 } | 18 } |
20 | 19 |
21 namespace chromeos { | 20 namespace chromeos { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 #define NET_LOG_LEVEL(log_level, event, description) \ | 62 #define NET_LOG_LEVEL(log_level, event, description) \ |
64 ::device_event_log::AddEntryWithDescription( \ | 63 ::device_event_log::AddEntryWithDescription( \ |
65 __FILE__, __LINE__, ::device_event_log::LOG_TYPE_NETWORK, log_level, \ | 64 __FILE__, __LINE__, ::device_event_log::LOG_TYPE_NETWORK, log_level, \ |
66 event, description) | 65 event, description) |
67 | 66 |
68 } // namespace network_event_log | 67 } // namespace network_event_log |
69 | 68 |
70 } // namespace chromeos | 69 } // namespace chromeos |
71 | 70 |
72 #endif // CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ | 71 #endif // CHROMEOS_NETWORK_NETWORK_EVENT_LOG_H_ |
OLD | NEW |