OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 NET_BASE_NET_LOG_LOGGER_H_ | 5 #ifndef NET_BASE_NET_LOG_LOGGER_H_ |
6 #define NET_BASE_NET_LOG_LOGGER_H_ | 6 #define NET_BASE_NET_LOG_LOGGER_H_ |
7 | 7 |
8 #include <stdio.h> | 8 #include <stdio.h> |
9 | 9 |
10 #include "base/files/scoped_file.h" | 10 #include "base/files/scoped_file.h" |
| 11 #include "base/macros.h" |
11 #include "net/base/net_log.h" | 12 #include "net/base/net_log.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class FilePath; | 15 class FilePath; |
15 class Value; | 16 class Value; |
16 } | 17 } |
17 | 18 |
18 namespace net { | 19 namespace net { |
19 | 20 |
20 // NetLogLogger watches the NetLog event stream, and sends all entries to | 21 // NetLogLogger watches the NetLog event stream, and sends all entries to |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 55 |
55 // True if OnAddEntry() has been called at least once. | 56 // True if OnAddEntry() has been called at least once. |
56 bool added_events_; | 57 bool added_events_; |
57 | 58 |
58 DISALLOW_COPY_AND_ASSIGN(NetLogLogger); | 59 DISALLOW_COPY_AND_ASSIGN(NetLogLogger); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace net | 62 } // namespace net |
62 | 63 |
63 #endif // NET_BASE_NET_LOG_LOGGER_H_ | 64 #endif // NET_BASE_NET_LOG_LOGGER_H_ |
OLD | NEW |