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

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

Issue 6279003: Move ppapi audio interface out of dev, but... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « ppapi/shared_impl/audio_impl.h ('k') | webkit/plugins/ppapi/ppb_audio_impl.h » ('j') | 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) 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 #include "webkit/plugins/ppapi/plugin_module.h" 5 #include "webkit/plugins/ppapi/plugin_module.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 &RunMessageLoop, 204 &RunMessageLoop,
205 &QuitMessageLoop, 205 &QuitMessageLoop,
206 &GetLiveObjectCount 206 &GetLiveObjectCount
207 }; 207 };
208 208
209 // GetInterface ---------------------------------------------------------------- 209 // GetInterface ----------------------------------------------------------------
210 210
211 const void* GetInterface(const char* name) { 211 const void* GetInterface(const char* name) {
212 // Please keep alphabetized by interface macro name with "special" stuff at 212 // Please keep alphabetized by interface macro name with "special" stuff at
213 // the bottom. 213 // the bottom.
214 if (strcmp(name, PPB_AUDIO_CONFIG_DEV_INTERFACE) == 0) 214 if (strcmp(name, PPB_AUDIO_CONFIG_INTERFACE) == 0)
215 return PPB_AudioConfig_Impl::GetInterface(); 215 return PPB_AudioConfig_Impl::GetInterface();
216 if (strcmp(name, PPB_AUDIO_DEV_INTERFACE) == 0) 216 if (strcmp(name, PPB_AUDIO_INTERFACE) == 0)
217 return PPB_Audio_Impl::GetInterface(); 217 return PPB_Audio_Impl::GetInterface();
218 if (strcmp(name, PPB_AUDIO_TRUSTED_DEV_INTERFACE) == 0) 218 if (strcmp(name, PPB_AUDIO_TRUSTED_INTERFACE) == 0)
219 return PPB_Audio_Impl::GetTrustedInterface(); 219 return PPB_Audio_Impl::GetTrustedInterface();
220 if (strcmp(name, PPB_BUFFER_DEV_INTERFACE) == 0) 220 if (strcmp(name, PPB_BUFFER_DEV_INTERFACE) == 0)
221 return PPB_Buffer_Impl::GetInterface(); 221 return PPB_Buffer_Impl::GetInterface();
222 if (strcmp(name, PPB_CHAR_SET_DEV_INTERFACE) == 0) 222 if (strcmp(name, PPB_CHAR_SET_DEV_INTERFACE) == 0)
223 return PPB_CharSet_Impl::GetInterface(); 223 return PPB_CharSet_Impl::GetInterface();
224 if (strcmp(name, PPB_CLASS_INTERFACE) == 0) 224 if (strcmp(name, PPB_CLASS_INTERFACE) == 0)
225 return VarObjectClass::GetInterface(); 225 return VarObjectClass::GetInterface();
226 if (strcmp(name, PPB_CORE_INTERFACE) == 0) 226 if (strcmp(name, PPB_CORE_INTERFACE) == 0)
227 return &core_interface; 227 return &core_interface;
228 if (strcmp(name, PPB_CURSOR_CONTROL_DEV_INTERFACE) == 0) 228 if (strcmp(name, PPB_CURSOR_CONTROL_DEV_INTERFACE) == 0)
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 if (retval != 0) { 524 if (retval != 0) {
525 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 525 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
526 return false; 526 return false;
527 } 527 }
528 return true; 528 return true;
529 } 529 }
530 530
531 } // namespace ppapi 531 } // namespace ppapi
532 } // namespace webkit 532 } // namespace webkit
533 533
OLDNEW
« no previous file with comments | « ppapi/shared_impl/audio_impl.h ('k') | webkit/plugins/ppapi/ppb_audio_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698