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

Side by Side Diff: chrome/browser/media/webrtc_logging_handler_host.h

Issue 324143002: Decouple IPC::MessageFilter from IPC::Channel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing compilation errors Created 6 years, 6 months 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 | Annotate | Revision Log
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_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"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 STOPPED, // Logging has been stopped, log still open in memory. 116 STOPPED, // Logging has been stopped, log still open in memory.
117 UPLOADING // Uploading log is in progress. 117 UPLOADING // Uploading log is in progress.
118 }; 118 };
119 119
120 friend class content::BrowserThread; 120 friend class content::BrowserThread;
121 friend class base::DeleteHelper<WebRtcLoggingHandlerHost>; 121 friend class base::DeleteHelper<WebRtcLoggingHandlerHost>;
122 122
123 virtual ~WebRtcLoggingHandlerHost(); 123 virtual ~WebRtcLoggingHandlerHost();
124 124
125 // BrowserMessageFilter implementation. 125 // BrowserMessageFilter implementation.
126 virtual void OnChannelClosing() OVERRIDE; 126 virtual void OnSenderClosing() OVERRIDE;
127 virtual void OnDestruct() const OVERRIDE; 127 virtual void OnDestruct() const OVERRIDE;
128 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 128 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
129 129
130 // Handles log message requests from renderer process. 130 // Handles log message requests from renderer process.
131 void OnAddLogMessages(const std::vector<WebRtcLoggingMessageData>& messages); 131 void OnAddLogMessages(const std::vector<WebRtcLoggingMessageData>& messages);
132 void OnLoggingStoppedInRenderer(); 132 void OnLoggingStoppedInRenderer();
133 133
134 // Handles log message requests from browser process. 134 // Handles log message requests from browser process.
135 void AddLogMessageFromBrowser(const WebRtcLoggingMessageData& message); 135 void AddLogMessageFromBrowser(const WebRtcLoggingMessageData& message);
136 136
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // The RTP dump handler responsible for creating the RTP header dump files. 209 // The RTP dump handler responsible for creating the RTP header dump files.
210 scoped_ptr<WebRtcRtpDumpHandler> rtp_dump_handler_; 210 scoped_ptr<WebRtcRtpDumpHandler> rtp_dump_handler_;
211 211
212 // The callback to call when StopRtpDump is called. 212 // The callback to call when StopRtpDump is called.
213 content::RenderProcessHost::WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; 213 content::RenderProcessHost::WebRtcStopRtpDumpCallback stop_rtp_dump_callback_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); 215 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost);
216 }; 216 };
217 217
218 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ 218 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | ipc/message_filter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698