OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ | 5 #ifndef CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ |
6 #define CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ | 6 #define CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "content/browser/renderer_host/media/mock_media_observer.h" | 14 #include "content/browser/renderer_host/media/mock_media_observer.h" |
15 #include "content/public/renderer/content_renderer_client.h" | 15 #include "content/public/renderer/content_renderer_client.h" |
| 16 #include "ipc/ipc_listener.h" |
16 #include "media/base/channel_layout.h" | 17 #include "media/base/channel_layout.h" |
17 #include "ipc/ipc_channel.h" | |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 #include "third_party/webrtc/common_types.h" | 19 #include "third_party/webrtc/common_types.h" |
20 | 20 |
| 21 namespace IPC { |
| 22 class Channel; |
| 23 } |
| 24 |
21 namespace media { | 25 namespace media { |
22 class AudioManager; | 26 class AudioManager; |
23 } | 27 } |
24 | 28 |
25 namespace net { | 29 namespace net { |
26 class URLRequestContext; | 30 class URLRequestContext; |
27 } | 31 } |
28 | 32 |
29 namespace webrtc { | 33 namespace webrtc { |
30 class VoENetwork; | 34 class VoENetwork; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE; | 207 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE; |
204 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE; | 208 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE; |
205 | 209 |
206 private: | 210 private: |
207 webrtc::VoENetwork* network_; | 211 webrtc::VoENetwork* network_; |
208 }; | 212 }; |
209 | 213 |
210 } // namespace content | 214 } // namespace content |
211 | 215 |
212 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ | 216 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ |
OLD | NEW |