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 WRITE_TO_FILE_NET_LOG_OBSERVER_H_ | 5 #ifndef NET_LOG_WRITE_TO_FILE_NET_LOG_OBSERVER_H_ |
6 #define WRITE_TO_FILE_NET_LOG_OBSERVER_H_ | 6 #define NET_LOG_WRITE_TO_FILE_NET_LOG_OBSERVER_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 "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 #include "net/log/net_log.h" | 14 #include "net/log/net_log.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 NetLogCaptureMode capture_mode_; | 83 NetLogCaptureMode capture_mode_; |
84 | 84 |
85 // True if OnAddEntry() has been called at least once. | 85 // True if OnAddEntry() has been called at least once. |
86 bool added_events_; | 86 bool added_events_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(WriteToFileNetLogObserver); | 88 DISALLOW_COPY_AND_ASSIGN(WriteToFileNetLogObserver); |
89 }; | 89 }; |
90 | 90 |
91 } // namespace net | 91 } // namespace net |
92 | 92 |
93 #endif // WRITE_TO_FILE_NET_LOG_OBSERVER_H_ | 93 #endif // NET_LOG_WRITE_TO_FILE_NET_LOG_OBSERVER_H_ |
OLD | NEW |