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