| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ | 5 #ifndef COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ |
| 6 #define COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ | 6 #define COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/command_line.h" | 11 #include "base/command_line.h" |
| 12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
| 16 #include "net/log/net_log.h" | |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 class DictionaryValue; | 18 class DictionaryValue; |
| 20 } | 19 } |
| 21 | 20 |
| 22 namespace net { | 21 namespace net { |
| 22 class NetLogCaptureMode; |
| 23 class WriteToFileNetLogObserver; | 23 class WriteToFileNetLogObserver; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace net_log { | 26 namespace net_log { |
| 27 | 27 |
| 28 class ChromeNetLog; | 28 class ChromeNetLog; |
| 29 | 29 |
| 30 // NetLogFileWriter logs all the NetLog entries into a specified file. | 30 // NetLogFileWriter logs all the NetLog entries into a specified file. |
| 31 // | 31 // |
| 32 // NetLogFileWriter maintains the current logging state (state_) and log file | 32 // NetLogFileWriter maintains the current logging state (state_) and log file |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 | 168 |
| 169 const base::CommandLine::StringType command_line_string_; | 169 const base::CommandLine::StringType command_line_string_; |
| 170 const std::string channel_string_; | 170 const std::string channel_string_; |
| 171 | 171 |
| 172 DISALLOW_COPY_AND_ASSIGN(NetLogFileWriter); | 172 DISALLOW_COPY_AND_ASSIGN(NetLogFileWriter); |
| 173 }; | 173 }; |
| 174 | 174 |
| 175 } // namespace net_log | 175 } // namespace net_log |
| 176 | 176 |
| 177 #endif // COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ | 177 #endif // COMPONENTS_NET_LOG_NET_LOG_FILE_WRITER_H_ |
| OLD | NEW |