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

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

Issue 1855193002: Move the call to enable the WebRTC event log from PeerConnectionFactory to PeerConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by dcheng. Created 4 years, 8 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 // Checks that the given renderer can request |url|, if not it sets it to 216 // Checks that the given renderer can request |url|, if not it sets it to
217 // about:blank. 217 // about:blank.
218 // |empty_allowed| must be set to false for navigations for security reasons. 218 // |empty_allowed| must be set to false for navigations for security reasons.
219 virtual void FilterURL(bool empty_allowed, GURL* url) = 0; 219 virtual void FilterURL(bool empty_allowed, GURL* url) = 0;
220 220
221 #if defined(ENABLE_WEBRTC) 221 #if defined(ENABLE_WEBRTC)
222 virtual void EnableAudioDebugRecordings(const base::FilePath& file) = 0; 222 virtual void EnableAudioDebugRecordings(const base::FilePath& file) = 0;
223 virtual void DisableAudioDebugRecordings() = 0; 223 virtual void DisableAudioDebugRecordings() = 0;
224 224
225 virtual void EnableEventLogRecordings(const base::FilePath& file) = 0;
226 virtual void DisableEventLogRecordings() = 0;
227
228 // When set, |callback| receives log messages regarding, for example, media 225 // When set, |callback| receives log messages regarding, for example, media
229 // devices (webcams, mics, etc) that were initially requested in the render 226 // devices (webcams, mics, etc) that were initially requested in the render
230 // process associated with this RenderProcessHost. 227 // process associated with this RenderProcessHost.
231 virtual void SetWebRtcLogMessageCallback( 228 virtual void SetWebRtcLogMessageCallback(
232 base::Callback<void(const std::string&)> callback) = 0; 229 base::Callback<void(const std::string&)> callback) = 0;
233 230
234 typedef base::Callback<void(scoped_ptr<uint8_t[]> packet_header, 231 typedef base::Callback<void(scoped_ptr<uint8_t[]> packet_header,
235 size_t header_length, 232 size_t header_length,
236 size_t packet_length, 233 size_t packet_length,
237 bool incoming)> WebRtcRtpPacketCallback; 234 bool incoming)> WebRtcRtpPacketCallback;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 static void SetMaxRendererProcessCount(size_t count); 354 static void SetMaxRendererProcessCount(size_t count);
358 355
359 // Returns the current maximum number of renderer process hosts kept by the 356 // Returns the current maximum number of renderer process hosts kept by the
360 // content module. 357 // content module.
361 static size_t GetMaxRendererProcessCount(); 358 static size_t GetMaxRendererProcessCount();
362 }; 359 };
363 360
364 } // namespace content. 361 } // namespace content.
365 362
366 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 363 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698