| OLD | NEW |
| 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 <utility> | 10 #include <utility> |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 BrowserContext* GetBrowserContext() const override; | 74 BrowserContext* GetBrowserContext() const override; |
| 75 bool InSameStoragePartition(StoragePartition* partition) const override; | 75 bool InSameStoragePartition(StoragePartition* partition) const override; |
| 76 IPC::ChannelProxy* GetChannel() override; | 76 IPC::ChannelProxy* GetChannel() override; |
| 77 void AddFilter(BrowserMessageFilter* filter) override; | 77 void AddFilter(BrowserMessageFilter* filter) override; |
| 78 bool FastShutdownForPageCount(size_t count) override; | 78 bool FastShutdownForPageCount(size_t count) override; |
| 79 base::TimeDelta GetChildProcessIdleTime() const override; | 79 base::TimeDelta GetChildProcessIdleTime() const override; |
| 80 void FilterURL(bool empty_allowed, GURL* url) override; | 80 void FilterURL(bool empty_allowed, GURL* url) override; |
| 81 #if defined(ENABLE_WEBRTC) | 81 #if defined(ENABLE_WEBRTC) |
| 82 void EnableAudioDebugRecordings(const base::FilePath& file) override; | 82 void EnableAudioDebugRecordings(const base::FilePath& file) override; |
| 83 void DisableAudioDebugRecordings() override; | 83 void DisableAudioDebugRecordings() override; |
| 84 void EnableEventLogRecordings(const base::FilePath& file) override; | 84 bool StartWebRTCEventLog(const base::FilePath& file_path) override; |
| 85 void DisableEventLogRecordings() override; | 85 bool StopWebRTCEventLog() override; |
| 86 void SetWebRtcLogMessageCallback( | 86 void SetWebRtcLogMessageCallback( |
| 87 base::Callback<void(const std::string&)> callback) override; | 87 base::Callback<void(const std::string&)> callback) override; |
| 88 void ClearWebRtcLogMessageCallback() override; | 88 void ClearWebRtcLogMessageCallback() override; |
| 89 WebRtcStopRtpDumpCallback StartRtpDump( | 89 WebRtcStopRtpDumpCallback StartRtpDump( |
| 90 bool incoming, | 90 bool incoming, |
| 91 bool outgoing, | 91 bool outgoing, |
| 92 const WebRtcRtpPacketCallback& packet_callback) override; | 92 const WebRtcRtpPacketCallback& packet_callback) override; |
| 93 #endif | 93 #endif |
| 94 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; | 94 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; |
| 95 void NotifyTimezoneChange(const std::string& zone_id) override; | 95 void NotifyTimezoneChange(const std::string& zone_id) override; |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // for deleting all MockRenderProcessHosts that have not deleted by a test in | 183 // for deleting all MockRenderProcessHosts that have not deleted by a test in |
| 184 // the destructor and prevent them from being leaked. | 184 // the destructor and prevent them from being leaked. |
| 185 mutable ScopedVector<MockRenderProcessHost> processes_; | 185 mutable ScopedVector<MockRenderProcessHost> processes_; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); | 187 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace content | 190 } // namespace content |
| 191 | 191 |
| 192 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ | 192 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |