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

Side by Side Diff: content/public/test/mock_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_TEST_MOCK_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <memory> 10 #include <memory>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 IPC::ChannelProxy* GetChannel() override; 85 IPC::ChannelProxy* GetChannel() override;
86 void AddFilter(BrowserMessageFilter* filter) override; 86 void AddFilter(BrowserMessageFilter* filter) override;
87 bool FastShutdownForPageCount(size_t count) override; 87 bool FastShutdownForPageCount(size_t count) override;
88 base::TimeDelta GetChildProcessIdleTime() const override; 88 base::TimeDelta GetChildProcessIdleTime() const override;
89 void FilterURL(bool empty_allowed, GURL* url) override; 89 void FilterURL(bool empty_allowed, GURL* url) override;
90 #if BUILDFLAG(ENABLE_WEBRTC) 90 #if BUILDFLAG(ENABLE_WEBRTC)
91 void EnableAudioDebugRecordings(const base::FilePath& file) override; 91 void EnableAudioDebugRecordings(const base::FilePath& file) override;
92 void DisableAudioDebugRecordings() override; 92 void DisableAudioDebugRecordings() override;
93 bool StartWebRTCEventLog(const base::FilePath& file_path) override; 93 bool StartWebRTCEventLog(const base::FilePath& file_path) override;
94 bool StopWebRTCEventLog() override; 94 bool StopWebRTCEventLog() override;
95 void SetEchoCanceller3(bool enable) override;
95 void SetWebRtcLogMessageCallback( 96 void SetWebRtcLogMessageCallback(
96 base::Callback<void(const std::string&)> callback) override; 97 base::Callback<void(const std::string&)> callback) override;
97 void ClearWebRtcLogMessageCallback() override; 98 void ClearWebRtcLogMessageCallback() override;
98 WebRtcStopRtpDumpCallback StartRtpDump( 99 WebRtcStopRtpDumpCallback StartRtpDump(
99 bool incoming, 100 bool incoming,
100 bool outgoing, 101 bool outgoing,
101 const WebRtcRtpPacketCallback& packet_callback) override; 102 const WebRtcRtpPacketCallback& packet_callback) override;
102 #endif 103 #endif
103 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 104 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
104 void BindInterface(const std::string& interface_name, 105 void BindInterface(const std::string& interface_name,
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 // for deleting all MockRenderProcessHosts that have not deleted by a test in 197 // for deleting all MockRenderProcessHosts that have not deleted by a test in
197 // the destructor and prevent them from being leaked. 198 // the destructor and prevent them from being leaked.
198 mutable std::vector<std::unique_ptr<MockRenderProcessHost>> processes_; 199 mutable std::vector<std::unique_ptr<MockRenderProcessHost>> processes_;
199 200
200 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 201 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
201 }; 202 };
202 203
203 } // namespace content 204 } // namespace content
204 205
205 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 206 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698