| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include <string> | |
| 12 | |
| 13 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 14 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/message_loop.h" | 14 #include "base/message_loop.h" |
| 17 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
| 18 #include "content/browser/renderer_host/media/mock_media_observer.h" | 16 #include "content/browser/renderer_host/media/mock_media_observer.h" |
| 19 #include "content/renderer/mock_content_renderer_client.h" | 17 #include "content/renderer/mock_content_renderer_client.h" |
| 20 #include "ipc/ipc_channel.h" | 18 #include "ipc/ipc_channel.h" |
| 21 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
| 22 #include "third_party/webrtc/common_types.h" | 20 #include "third_party/webrtc/common_types.h" |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 virtual ~WebRTCTransportImpl(); | 200 virtual ~WebRTCTransportImpl(); |
| 203 | 201 |
| 204 virtual int SendPacket(int channel, const void* data, int len); | 202 virtual int SendPacket(int channel, const void* data, int len); |
| 205 virtual int SendRTCPPacket(int channel, const void* data, int len); | 203 virtual int SendRTCPPacket(int channel, const void* data, int len); |
| 206 | 204 |
| 207 private: | 205 private: |
| 208 webrtc::VoENetwork* network_; | 206 webrtc::VoENetwork* network_; |
| 209 }; | 207 }; |
| 210 | 208 |
| 211 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ | 209 #endif // CONTENT_TEST_WEBRTC_AUDIO_DEVICE_TEST_H_ |
| OLD | NEW |