| 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 #include "content/test/webrtc_audio_device_test.h" | 5 #include "content/test/webrtc_audio_device_test.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 public: | 59 public: |
| 60 WebRTCMockRenderProcess() {} | 60 WebRTCMockRenderProcess() {} |
| 61 virtual ~WebRTCMockRenderProcess() {} | 61 virtual ~WebRTCMockRenderProcess() {} |
| 62 | 62 |
| 63 // RenderProcess implementation. | 63 // RenderProcess implementation. |
| 64 virtual skia::PlatformCanvas* GetDrawingCanvas( | 64 virtual skia::PlatformCanvas* GetDrawingCanvas( |
| 65 TransportDIB** memory, const gfx::Rect& rect) OVERRIDE { | 65 TransportDIB** memory, const gfx::Rect& rect) OVERRIDE { |
| 66 return NULL; | 66 return NULL; |
| 67 } | 67 } |
| 68 virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE {} | 68 virtual void ReleaseTransportDIB(TransportDIB* memory) OVERRIDE {} |
| 69 virtual bool UseInProcessPlugins() const OVERRIDE { return false; } | |
| 70 virtual void AddBindings(int bindings) OVERRIDE {} | 69 virtual void AddBindings(int bindings) OVERRIDE {} |
| 71 virtual int GetEnabledBindings() const OVERRIDE { return 0; } | 70 virtual int GetEnabledBindings() const OVERRIDE { return 0; } |
| 72 virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE { | 71 virtual TransportDIB* CreateTransportDIB(size_t size) OVERRIDE { |
| 73 return NULL; | 72 return NULL; |
| 74 } | 73 } |
| 75 virtual void FreeTransportDIB(TransportDIB*) OVERRIDE {} | 74 virtual void FreeTransportDIB(TransportDIB*) OVERRIDE {} |
| 76 | 75 |
| 77 private: | 76 private: |
| 78 DISALLOW_COPY_AND_ASSIGN(WebRTCMockRenderProcess); | 77 DISALLOW_COPY_AND_ASSIGN(WebRTCMockRenderProcess); |
| 79 }; | 78 }; |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { | 444 int WebRTCTransportImpl::SendPacket(int channel, const void* data, int len) { |
| 446 return network_->ReceivedRTPPacket(channel, data, len); | 445 return network_->ReceivedRTPPacket(channel, data, len); |
| 447 } | 446 } |
| 448 | 447 |
| 449 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, | 448 int WebRTCTransportImpl::SendRTCPPacket(int channel, const void* data, |
| 450 int len) { | 449 int len) { |
| 451 return network_->ReceivedRTCPPacket(channel, data, len); | 450 return network_->ReceivedRTCPPacket(channel, data, len); |
| 452 } | 451 } |
| 453 | 452 |
| 454 } // namespace content | 453 } // namespace content |
| OLD | NEW |