| 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_MOCKWEBRTCDATACHANNELHANDLER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ |
| 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/shell/renderer/test_runner/TestCommon.h" | |
| 10 #include "content/shell/renderer/test_runner/WebTask.h" | 9 #include "content/shell/renderer/test_runner/WebTask.h" |
| 11 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" | 10 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" |
| 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" | 11 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
| 13 #include "third_party/WebKit/public/platform/WebString.h" | 12 #include "third_party/WebKit/public/platform/WebString.h" |
| 14 | 13 |
| 15 namespace content { | 14 namespace content { |
| 16 | 15 |
| 17 class WebTestDelegate; | 16 class WebTestDelegate; |
| 18 | 17 |
| 19 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler { | 18 class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 bool reliable_; | 49 bool reliable_; |
| 51 WebTaskList task_list_; | 50 WebTaskList task_list_; |
| 52 WebTestDelegate* delegate_; | 51 WebTestDelegate* delegate_; |
| 53 | 52 |
| 54 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); | 53 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace content | 56 } // namespace content |
| 58 | 57 |
| 59 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ | 58 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBRTCDATACHANNELHANDLER_H_ |
| OLD | NEW |