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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 305363004: Fix a bug in passing the RTP header from P2PSocketHost to WebRtcLogggingHandlerHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 #if defined(ENABLE_WEBRTC) 201 #if defined(ENABLE_WEBRTC)
202 virtual void EnableAecDump(const base::FilePath& file) = 0; 202 virtual void EnableAecDump(const base::FilePath& file) = 0;
203 virtual void DisableAecDump() = 0; 203 virtual void DisableAecDump() = 0;
204 204
205 // When set, |callback| receives log messages regarding, for example, media 205 // When set, |callback| receives log messages regarding, for example, media
206 // devices (webcams, mics, etc) that were initially requested in the render 206 // devices (webcams, mics, etc) that were initially requested in the render
207 // process associated with this RenderProcessHost. 207 // process associated with this RenderProcessHost.
208 virtual void SetWebRtcLogMessageCallback( 208 virtual void SetWebRtcLogMessageCallback(
209 base::Callback<void(const std::string&)> callback) = 0; 209 base::Callback<void(const std::string&)> callback) = 0;
210 210
211 typedef base::Callback<void(const uint8* packet_header, 211 typedef base::Callback<void(scoped_ptr<uint8[]> packet_header,
212 size_t header_length, 212 size_t header_length,
213 size_t packet_length, 213 size_t packet_length,
214 bool incoming)> WebRtcRtpPacketCallback; 214 bool incoming)> WebRtcRtpPacketCallback;
215 215
216 typedef base::Callback<void(bool incoming, bool outgoing)> 216 typedef base::Callback<void(bool incoming, bool outgoing)>
217 WebRtcStopRtpDumpCallback; 217 WebRtcStopRtpDumpCallback;
218 218
219 // Starts passing RTP packets to |packet_callback| and returns the callback 219 // Starts passing RTP packets to |packet_callback| and returns the callback
220 // used to stop dumping. 220 // used to stop dumping.
221 virtual WebRtcStopRtpDumpCallback StartRtpDump( 221 virtual WebRtcStopRtpDumpCallback StartRtpDump(
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 static void SetMaxRendererProcessCount(size_t count); 283 static void SetMaxRendererProcessCount(size_t count);
284 284
285 // Returns the current max number of renderer processes used by the content 285 // Returns the current max number of renderer processes used by the content
286 // module. 286 // module.
287 static size_t GetMaxRendererProcessCount(); 287 static size_t GetMaxRendererProcessCount();
288 }; 288 };
289 289
290 } // namespace content. 290 } // namespace content.
291 291
292 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 292 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698