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

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.cc

Issue 9705056: PepperPlatformAudioInputImpl: support audio input device selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
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 "webkit/plugins/ppapi/mock_plugin_delegate.h" 5 #include "webkit/plugins/ppapi/mock_plugin_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop_proxy.h" 8 #include "base/message_loop_proxy.h"
9 #include "ppapi/c/pp_errors.h" 9 #include "ppapi/c/pp_errors.h"
10 #include "ppapi/shared_impl/ppapi_preferences.h" 10 #include "ppapi/shared_impl/ppapi_preferences.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 MockPluginDelegate::PlatformAudioOutput* MockPluginDelegate::CreateAudioOutput( 82 MockPluginDelegate::PlatformAudioOutput* MockPluginDelegate::CreateAudioOutput(
83 uint32_t sample_rate, 83 uint32_t sample_rate,
84 uint32_t sample_count, 84 uint32_t sample_count,
85 PlatformAudioCommonClient* client) { 85 PlatformAudioCommonClient* client) {
86 return NULL; 86 return NULL;
87 } 87 }
88 88
89 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput( 89 MockPluginDelegate::PlatformAudioInput* MockPluginDelegate::CreateAudioInput(
90 const std::string& device_id,
90 uint32_t sample_rate, 91 uint32_t sample_rate,
91 uint32_t sample_count, 92 uint32_t sample_count,
92 PlatformAudioCommonClient* client) { 93 PlatformAudioInputClient* client) {
93 return NULL; 94 return NULL;
94 } 95 }
95 96
96 MockPluginDelegate::Broker* MockPluginDelegate::ConnectToBroker( 97 MockPluginDelegate::Broker* MockPluginDelegate::ConnectToBroker(
97 PPB_Broker_Impl* client) { 98 PPB_Broker_Impl* client) {
98 return NULL; 99 return NULL;
99 } 100 }
100 101
101 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier, 102 void MockPluginDelegate::NumberOfFindResultsChanged(int identifier,
102 int total, 103 int total,
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 return -1; 435 return -1;
435 } 436 }
436 437
437 webkit_glue::ClipboardClient* 438 webkit_glue::ClipboardClient*
438 MockPluginDelegate::CreateClipboardClient() const { 439 MockPluginDelegate::CreateClipboardClient() const {
439 return NULL; 440 return NULL;
440 } 441 }
441 442
442 } // namespace ppapi 443 } // namespace ppapi
443 } // namespace webkit 444 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698