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/files/file_path.h" | 10 #include "base/files/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/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 "ipc/ipc_listener.h" |
17 #include "media/base/audio_hardware_config.h" | 17 #include "media/base/audio_hardware_config.h" |
18 #include "media/base/channel_layout.h" | 18 #include "media/base/channel_layout.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "third_party/webrtc/common_types.h" | 20 #include "third_party/webrtc/common_types.h" |
21 | 21 |
22 namespace IPC { | 22 namespace IPC { |
23 class Channel; | 23 class Channel; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE; | 197 virtual int SendPacket(int channel, const void* data, int len) OVERRIDE; |
198 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE; | 198 virtual int SendRTCPPacket(int channel, const void* data, int len) OVERRIDE; |
199 | 199 |
200 private: | 200 private: |
201 webrtc::VoENetwork* network_; | 201 webrtc::VoENetwork* network_; |
202 }; | 202 }; |
203 | 203 |
204 } // namespace content | 204 } // namespace content |
205 | 205 |
206 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ | 206 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ |
OLD | NEW |