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 COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
6 #define COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" | 12 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandler.h" |
13 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandlerClient.h" | 13 #include "third_party/WebKit/public/platform/WebRTCDataChannelHandlerClient.h" |
14 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" | 14 #include "third_party/WebKit/public/platform/WebRTCDataChannelInit.h" |
15 #include "third_party/WebKit/public/platform/WebString.h" | 15 #include "third_party/WebKit/public/platform/WebString.h" |
16 | 16 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 bool reliable_; | 52 bool reliable_; |
53 WebTestDelegate* delegate_; | 53 WebTestDelegate* delegate_; |
54 | 54 |
55 base::WeakPtrFactory<MockWebRTCDataChannelHandler> weak_factory_; | 55 base::WeakPtrFactory<MockWebRTCDataChannelHandler> weak_factory_; |
56 | 56 |
57 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); | 57 DISALLOW_COPY_AND_ASSIGN(MockWebRTCDataChannelHandler); |
58 }; | 58 }; |
59 | 59 |
60 } // namespace test_runner | 60 } // namespace test_runner |
61 | 61 |
62 #endif // COMPONENTS_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ | 62 #endif // CONTENT_SHELL_TEST_RUNNER_MOCK_WEBRTC_DATA_CHANNEL_HANDLER_H_ |
OLD | NEW |