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

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

Issue 2801853005: Create a private API for controlling WebRTC's AEC3 (Closed)
Patch Set: Fixing typo Created 3 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 // Starts a WebRTC event log for each peerconnection on the render process. 238 // Starts a WebRTC event log for each peerconnection on the render process.
239 // A base file_path can be supplied, which will be extended to include several 239 // A base file_path can be supplied, which will be extended to include several
240 // identifiers to ensure uniqueness. If a recording was already in progress, 240 // identifiers to ensure uniqueness. If a recording was already in progress,
241 // this call will return false and have no other effect. 241 // this call will return false and have no other effect.
242 virtual bool StartWebRTCEventLog(const base::FilePath& file_path) = 0; 242 virtual bool StartWebRTCEventLog(const base::FilePath& file_path) = 0;
243 243
244 // Stops recording a WebRTC event log for each peerconnection on the render 244 // Stops recording a WebRTC event log for each peerconnection on the render
245 // process. If no recording was in progress, this call will return false. 245 // process. If no recording was in progress, this call will return false.
246 virtual bool StopWebRTCEventLog() = 0; 246 virtual bool StopWebRTCEventLog() = 0;
247 247
248 // Enables or disables WebRTC's echo canceller AEC3. Disabled implies
249 // selecting the older AEC2.
250 // Note: This will be removed once the AEC3 is fully rolled out and the old
251 // AEC is deprecated.
252 virtual void SetEchoCanceller3(bool enable) = 0;
253
248 // When set, |callback| receives log messages regarding, for example, media 254 // When set, |callback| receives log messages regarding, for example, media
249 // devices (webcams, mics, etc) that were initially requested in the render 255 // devices (webcams, mics, etc) that were initially requested in the render
250 // process associated with this RenderProcessHost. 256 // process associated with this RenderProcessHost.
251 virtual void SetWebRtcLogMessageCallback( 257 virtual void SetWebRtcLogMessageCallback(
252 base::Callback<void(const std::string&)> callback) = 0; 258 base::Callback<void(const std::string&)> callback) = 0;
253 virtual void ClearWebRtcLogMessageCallback() = 0; 259 virtual void ClearWebRtcLogMessageCallback() = 0;
254 260
255 typedef base::Callback<void(std::unique_ptr<uint8_t[]> packet_header, 261 typedef base::Callback<void(std::unique_ptr<uint8_t[]> packet_header,
256 size_t header_length, 262 size_t header_length,
257 size_t packet_length, 263 size_t packet_length,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 static void SetMaxRendererProcessCount(size_t count); 415 static void SetMaxRendererProcessCount(size_t count);
410 416
411 // Returns the current maximum number of renderer process hosts kept by the 417 // Returns the current maximum number of renderer process hosts kept by the
412 // content module. 418 // content module.
413 static size_t GetMaxRendererProcessCount(); 419 static size_t GetMaxRendererProcessCount();
414 }; 420 };
415 421
416 } // namespace content. 422 } // namespace content.
417 423
418 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 424 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/common/media/aec_dump_messages.h ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698