Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1103)

Side by Side Diff: chrome/renderer/media/chrome_webrtc_log_message_delegate.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.h ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 5 #ifndef CHROME_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_
6 #define CHROME_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 6 #define CHROME_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/common/media/webrtc_logging_message_data.h" 11 #include "chrome/common/media/webrtc_logging_message_data.h"
12 #include "content/public/renderer/webrtc_log_message_delegate.h" 12 #include "content/public/renderer/webrtc_log_message_delegate.h"
13 #include "ipc/ipc_channel_proxy.h" 13 #include "ipc/ipc_channel_proxy.h"
14 14
15 namespace base { 15 namespace base {
16 class SingleThreadTaskRunner; 16 class SingleThreadTaskRunner;
17 } 17 }
18 18
19 class PartialCircularBuffer;
20 class WebRtcLoggingMessageFilter; 19 class WebRtcLoggingMessageFilter;
21 20
22 // ChromeWebRtcLogMessageDelegate handles WebRTC logging. There is one object 21 // ChromeWebRtcLogMessageDelegate handles WebRTC logging. There is one object
23 // per render process, owned by WebRtcLoggingMessageFilter. It communicates with 22 // per render process, owned by WebRtcLoggingMessageFilter. It communicates with
24 // WebRtcLoggingHandlerHost and receives logging messages from libjingle and 23 // WebRtcLoggingHandlerHost and receives logging messages from libjingle and
25 // writes them to a shared memory buffer. 24 // writes them to a shared memory buffer.
26 class ChromeWebRtcLogMessageDelegate 25 class ChromeWebRtcLogMessageDelegate
27 : public content::WebRtcLogMessageDelegate, 26 : public content::WebRtcLogMessageDelegate,
28 public base::NonThreadSafe { 27 public base::NonThreadSafe {
29 public: 28 public:
(...skipping 20 matching lines...) Expand all
50 std::vector<WebRtcLoggingMessageData> log_buffer_; 49 std::vector<WebRtcLoggingMessageData> log_buffer_;
51 50
52 base::TimeTicks last_log_buffer_send_; 51 base::TimeTicks last_log_buffer_send_;
53 52
54 WebRtcLoggingMessageFilter* message_filter_; 53 WebRtcLoggingMessageFilter* message_filter_;
55 54
56 DISALLOW_COPY_AND_ASSIGN(ChromeWebRtcLogMessageDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ChromeWebRtcLogMessageDelegate);
57 }; 56 };
58 57
59 #endif // CHROME_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_ 58 #endif // CHROME_RENDERER_MEDIA_CHROME_WEBRTC_LOG_MESSAGE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/media/cast_session_delegate.h ('k') | chrome/renderer/net/net_error_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698