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