Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: content/test/webrtc_audio_device_test.cc

Issue 111613005: Start removing support for in-process NPAPI plugins. This was a debugging mode and was only support… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/mock_render_process.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/test/mock_render_process.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698