| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void AddPendingView() override; | 69 void AddPendingView() override; |
| 70 void RemovePendingView() override; | 70 void RemovePendingView() override; |
| 71 void SetSuddenTerminationAllowed(bool allowed) override; | 71 void SetSuddenTerminationAllowed(bool allowed) override; |
| 72 bool SuddenTerminationAllowed() const override; | 72 bool SuddenTerminationAllowed() const override; |
| 73 BrowserContext* GetBrowserContext() const override; | 73 BrowserContext* GetBrowserContext() const override; |
| 74 bool InSameStoragePartition(StoragePartition* partition) const override; | 74 bool InSameStoragePartition(StoragePartition* partition) const override; |
| 75 IPC::ChannelProxy* GetChannel() override; | 75 IPC::ChannelProxy* GetChannel() override; |
| 76 void AddFilter(BrowserMessageFilter* filter) override; | 76 void AddFilter(BrowserMessageFilter* filter) override; |
| 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 ResumeRequestsForView(int route_id) override; | |
| 80 void FilterURL(bool empty_allowed, GURL* url) override; | 79 void FilterURL(bool empty_allowed, GURL* url) override; |
| 81 #if defined(ENABLE_WEBRTC) | 80 #if defined(ENABLE_WEBRTC) |
| 82 void EnableAudioDebugRecordings(const base::FilePath& file) override; | 81 void EnableAudioDebugRecordings(const base::FilePath& file) override; |
| 83 void DisableAudioDebugRecordings() override; | 82 void DisableAudioDebugRecordings() override; |
| 84 void EnableEventLogRecordings(const base::FilePath& file) override; | 83 void EnableEventLogRecordings(const base::FilePath& file) override; |
| 85 void DisableEventLogRecordings() override; | 84 void DisableEventLogRecordings() override; |
| 86 void SetWebRtcLogMessageCallback( | 85 void SetWebRtcLogMessageCallback( |
| 87 base::Callback<void(const std::string&)> callback) override; | 86 base::Callback<void(const std::string&)> callback) override; |
| 88 WebRtcStopRtpDumpCallback StartRtpDump( | 87 WebRtcStopRtpDumpCallback StartRtpDump( |
| 89 bool incoming, | 88 bool incoming, |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // 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 |
| 185 // the destructor and prevent them from being leaked. | 184 // the destructor and prevent them from being leaked. |
| 186 mutable ScopedVector<MockRenderProcessHost> processes_; | 185 mutable ScopedVector<MockRenderProcessHost> processes_; |
| 187 | 186 |
| 188 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); | 187 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); |
| 189 }; | 188 }; |
| 190 | 189 |
| 191 } // namespace content | 190 } // namespace content |
| 192 | 191 |
| 193 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ | 192 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ |
| OLD | NEW |