| 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_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/shell/renderer/test_runner/web_task.h" | 9 #include "components/test_runner/web_task.h" |
| 10 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" | 10 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" |
| 11 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandlerClient.h" | 11 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandlerClient.h" |
| 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" | 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
| 13 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
| 14 | 14 |
| 15 namespace content { | 15 namespace content { |
| 16 | 16 |
| 17 class WebTestDelegate; | 17 class WebTestDelegate; |
| 18 | 18 |
| 19 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler { | 19 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 blink::WebRTCDataChannelInit init_; | 52 blink::WebRTCDataChannelInit init_; |
| 53 bool reliable_; | 53 bool reliable_; |
| 54 WebTaskList task_list_; | 54 WebTaskList task_list_; |
| 55 WebTestDelegate* delegate_; | 55 WebTestDelegate* delegate_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); | 57 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 } // namespace content | 60 } // namespace content |
| 61 | 61 |
| 62 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H
_ | 62 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
| OLD | NEW |