| 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 CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
| 6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/memory/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
| 10 #include "chrome/browser/media/rtp_dump_type.h" | 10 #include "chrome/browser/media/rtp_dump_type.h" |
| 11 #include "chrome/browser/media/webrtc_rtp_dump_handler.h" | 11 #include "chrome/browser/media/webrtc_rtp_dump_handler.h" |
| 12 #include "chrome/common/media/webrtc_logging_message_data.h" | 12 #include "chrome/common/media/webrtc_logging_message_data.h" |
| 13 #include "chrome/common/partial_circular_buffer.h" | 13 #include "chrome/common/partial_circular_buffer.h" |
| 14 #include "content/public/browser/browser_message_filter.h" | 14 #include "content/public/browser/browser_message_filter.h" |
| 15 #include "content/public/browser/render_process_host.h" | 15 #include "content/public/browser/render_process_host.h" |
| 16 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
| 17 #include "net/base/network_interfaces.h" |
| 17 | 18 |
| 18 namespace net { | 19 namespace net { |
| 19 class URLRequestContextGetter; | 20 class URLRequestContextGetter; |
| 20 } // namespace net | 21 } // namespace net |
| 21 | 22 |
| 22 class Profile; | 23 class Profile; |
| 23 | 24 |
| 24 #if defined(OS_ANDROID) | 25 #if defined(OS_ANDROID) |
| 25 const size_t kWebRtcLogSize = 1 * 1024 * 1024; // 1 MB | 26 const size_t kWebRtcLogSize = 1 * 1024 * 1024; // 1 MB |
| 26 #else | 27 #else |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // The RTP dump handler responsible for creating the RTP header dump files. | 267 // The RTP dump handler responsible for creating the RTP header dump files. |
| 267 scoped_ptr<WebRtcRtpDumpHandler> rtp_dump_handler_; | 268 scoped_ptr<WebRtcRtpDumpHandler> rtp_dump_handler_; |
| 268 | 269 |
| 269 // The callback to call when StopRtpDump is called. | 270 // The callback to call when StopRtpDump is called. |
| 270 content::RenderProcessHost::WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; | 271 content::RenderProcessHost::WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; |
| 271 | 272 |
| 272 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); | 273 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 276 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
| OLD | NEW |