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