| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/shell/renderer/test_runner/TestCommon.h" | 9 #include "content/shell/renderer/test_runner/TestCommon.h" |
| 10 #include "content/shell/renderer/test_runner/WebTask.h" | 10 #include "content/shell/renderer/test_runner/WebTask.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 TestInterfaces* interfaces); | 29 TestInterfaces* interfaces); |
| 30 | 30 |
| 31 // WebRTCPeerConnectionHandler related methods | 31 // WebRTCPeerConnectionHandler related methods |
| 32 virtual bool initialize( | 32 virtual bool initialize( |
| 33 const blink::WebRTCConfiguration& configuration, | 33 const blink::WebRTCConfiguration& configuration, |
| 34 const blink::WebMediaConstraints& constraints) OVERRIDE; | 34 const blink::WebMediaConstraints& constraints) OVERRIDE; |
| 35 | 35 |
| 36 virtual void createOffer( | 36 virtual void createOffer( |
| 37 const blink::WebRTCSessionDescriptionRequest& request, | 37 const blink::WebRTCSessionDescriptionRequest& request, |
| 38 const blink::WebMediaConstraints& constraints) OVERRIDE; | 38 const blink::WebMediaConstraints& constraints) OVERRIDE; |
| 39 virtual void createOffer( |
| 40 const blink::WebRTCSessionDescriptionRequest& request, |
| 41 const blink::WebRTCOfferOptions& options) OVERRIDE; |
| 39 virtual void createAnswer( | 42 virtual void createAnswer( |
| 40 const blink::WebRTCSessionDescriptionRequest& request, | 43 const blink::WebRTCSessionDescriptionRequest& request, |
| 41 const blink::WebMediaConstraints& constraints) OVERRIDE; | 44 const blink::WebMediaConstraints& constraints) OVERRIDE; |
| 42 virtual void setLocalDescription( | 45 virtual void setLocalDescription( |
| 43 const blink::WebRTCVoidRequest& request, | 46 const blink::WebRTCVoidRequest& request, |
| 44 const blink::WebRTCSessionDescription& local_description) OVERRIDE; | 47 const blink::WebRTCSessionDescription& local_description) OVERRIDE; |
| 45 virtual void setRemoteDescription( | 48 virtual void setRemoteDescription( |
| 46 const blink::WebRTCVoidRequest& request, | 49 const blink::WebRTCVoidRequest& request, |
| 47 const blink::WebRTCSessionDescription& remote_description) OVERRIDE; | 50 const blink::WebRTCSessionDescription& remote_description) OVERRIDE; |
| 48 virtual blink::WebRTCSessionDescription localDescription() OVERRIDE; | 51 virtual blink::WebRTCSessionDescription localDescription() OVERRIDE; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 blink::WebRTCSessionDescription remote_description_; | 83 blink::WebRTCSessionDescription remote_description_; |
| 81 int stream_count_; | 84 int stream_count_; |
| 82 TestInterfaces* interfaces_; | 85 TestInterfaces* interfaces_; |
| 83 | 86 |
| 84 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); | 87 DISALLOW_COPY_AND_ASSIGN(MockWebRTCPeerConnectionHandler); |
| 85 }; | 88 }; |
| 86 | 89 |
| 87 } // namespace content | 90 } // namespace content |
| 88 | 91 |
| 89 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ | 92 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCPEERCONNECTIONHANDLER_H_ |
| OLD | NEW |