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

Side by Side Diff: content/public/test/mock_render_process_host.h

Issue 1272223003: Implement writing mic audio input data to file for debugging purposes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 3 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 bool SuddenTerminationAllowed() const override; 65 bool SuddenTerminationAllowed() const override;
66 BrowserContext* GetBrowserContext() const override; 66 BrowserContext* GetBrowserContext() const override;
67 bool InSameStoragePartition(StoragePartition* partition) const override; 67 bool InSameStoragePartition(StoragePartition* partition) const override;
68 IPC::ChannelProxy* GetChannel() override; 68 IPC::ChannelProxy* GetChannel() override;
69 void AddFilter(BrowserMessageFilter* filter) override; 69 void AddFilter(BrowserMessageFilter* filter) override;
70 bool FastShutdownForPageCount(size_t count) override; 70 bool FastShutdownForPageCount(size_t count) override;
71 base::TimeDelta GetChildProcessIdleTime() const override; 71 base::TimeDelta GetChildProcessIdleTime() const override;
72 void ResumeRequestsForView(int route_id) override; 72 void ResumeRequestsForView(int route_id) override;
73 void FilterURL(bool empty_allowed, GURL* url) override; 73 void FilterURL(bool empty_allowed, GURL* url) override;
74 #if defined(ENABLE_WEBRTC) 74 #if defined(ENABLE_WEBRTC)
75 void EnableAecDump(const base::FilePath& file) override; 75 void EnableAudioDebugRecordings(const base::FilePath& file) override;
76 void DisableAecDump() override; 76 void DisableAudioDebugRecordings() override;
77 void SetWebRtcLogMessageCallback( 77 void SetWebRtcLogMessageCallback(
78 base::Callback<void(const std::string&)> callback) override; 78 base::Callback<void(const std::string&)> callback) override;
79 WebRtcStopRtpDumpCallback StartRtpDump( 79 WebRtcStopRtpDumpCallback StartRtpDump(
80 bool incoming, 80 bool incoming,
81 bool outgoing, 81 bool outgoing,
82 const WebRtcRtpPacketCallback& packet_callback) override; 82 const WebRtcRtpPacketCallback& packet_callback) override;
83 #endif 83 #endif
84 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; 84 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
85 void NotifyTimezoneChange(const std::string& zone_id) override; 85 void NotifyTimezoneChange(const std::string& zone_id) override;
86 ServiceRegistry* GetServiceRegistry() override; 86 ServiceRegistry* GetServiceRegistry() override;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // for deleting all MockRenderProcessHosts that have not deleted by a test in 159 // for deleting all MockRenderProcessHosts that have not deleted by a test in
160 // the destructor and prevent them from being leaked. 160 // the destructor and prevent them from being leaked.
161 mutable ScopedVector<MockRenderProcessHost> processes_; 161 mutable ScopedVector<MockRenderProcessHost> processes_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); 163 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory);
164 }; 164 };
165 165
166 } // namespace content 166 } // namespace content
167 167
168 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ 168 #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