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 "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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 void EnableAecDump(const base::FilePath& file) override; | 73 void EnableAecDump(const base::FilePath& file) override; |
74 void DisableAecDump() override; | 74 void DisableAecDump() override; |
75 void SetWebRtcLogMessageCallback( | 75 void SetWebRtcLogMessageCallback( |
76 base::Callback<void(const std::string&)> callback) override; | 76 base::Callback<void(const std::string&)> callback) override; |
77 WebRtcStopRtpDumpCallback StartRtpDump( | 77 WebRtcStopRtpDumpCallback StartRtpDump( |
78 bool incoming, | 78 bool incoming, |
79 bool outgoing, | 79 bool outgoing, |
80 const WebRtcRtpPacketCallback& packet_callback) override; | 80 const WebRtcRtpPacketCallback& packet_callback) override; |
81 #endif | 81 #endif |
82 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; | 82 void ResumeDeferredNavigation(const GlobalRequestID& request_id) override; |
83 void NotifyTimezoneChange() override; | 83 void NotifyTimezoneChange(const std::string& zone_id) override; |
84 ServiceRegistry* GetServiceRegistry() override; | 84 ServiceRegistry* GetServiceRegistry() override; |
85 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; | 85 const base::TimeTicks& GetInitTimeForNavigationMetrics() const override; |
86 bool SubscribeUniformEnabled() const override; | 86 bool SubscribeUniformEnabled() const override; |
87 void OnAddSubscription(unsigned int target) override; | 87 void OnAddSubscription(unsigned int target) override; |
88 void OnRemoveSubscription(unsigned int target) override; | 88 void OnRemoveSubscription(unsigned int target) override; |
89 void SendUpdateValueState( | 89 void SendUpdateValueState( |
90 unsigned int target, const gpu::ValueState& state) override; | 90 unsigned int target, const gpu::ValueState& state) override; |
91 #if defined(ENABLE_BROWSER_CDMS) | 91 #if defined(ENABLE_BROWSER_CDMS) |
92 media::BrowserCdm* GetBrowserCdm(int render_frame_id, | 92 media::BrowserCdm* GetBrowserCdm(int render_frame_id, |
93 int cdm_id) const override; | 93 int cdm_id) const override; |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 // for deleting all MockRenderProcessHosts that have not deleted by a test in | 156 // for deleting all MockRenderProcessHosts that have not deleted by a test in |
157 // the destructor and prevent them from being leaked. | 157 // the destructor and prevent them from being leaked. |
158 mutable ScopedVector<MockRenderProcessHost> processes_; | 158 mutable ScopedVector<MockRenderProcessHost> processes_; |
159 | 159 |
160 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); | 160 DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHostFactory); |
161 }; | 161 }; |
162 | 162 |
163 } // namespace content | 163 } // namespace content |
164 | 164 |
165 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ | 165 #endif // CONTENT_PUBLIC_TEST_MOCK_RENDER_PROCESS_HOST_H_ |
OLD | NEW |