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

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

Issue 6592071: Pepper/Flapper: Add an interface to do sync file ops on FileRefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer
Patch Set: oops, forgot one Created 9 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
« no previous file with comments | « webkit/plugins/ppapi/file_path.cc ('k') | webkit/plugins/ppapi/ppb_flash_file_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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 if (strcmp(name, PPB_FILEIOTRUSTED_DEV_INTERFACE) == 0) 243 if (strcmp(name, PPB_FILEIOTRUSTED_DEV_INTERFACE) == 0)
244 return PPB_FileIO_Impl::GetTrustedInterface(); 244 return PPB_FileIO_Impl::GetTrustedInterface();
245 if (strcmp(name, PPB_FILEREF_DEV_INTERFACE) == 0) 245 if (strcmp(name, PPB_FILEREF_DEV_INTERFACE) == 0)
246 return PPB_FileRef_Impl::GetInterface(); 246 return PPB_FileRef_Impl::GetInterface();
247 if (strcmp(name, PPB_FILESYSTEM_DEV_INTERFACE) == 0) 247 if (strcmp(name, PPB_FILESYSTEM_DEV_INTERFACE) == 0)
248 return PPB_FileSystem_Impl::GetInterface(); 248 return PPB_FileSystem_Impl::GetInterface();
249 if (strcmp(name, PPB_FIND_DEV_INTERFACE) == 0) 249 if (strcmp(name, PPB_FIND_DEV_INTERFACE) == 0)
250 return PluginInstance::GetFindInterface(); 250 return PluginInstance::GetFindInterface();
251 if (strcmp(name, PPB_FLASH_INTERFACE) == 0) 251 if (strcmp(name, PPB_FLASH_INTERFACE) == 0)
252 return PPB_Flash_Impl::GetInterface(); 252 return PPB_Flash_Impl::GetInterface();
253 if (strcmp(name, PPB_FLASH_FILE_FILEREF_INTERFACE) == 0)
254 return PPB_Flash_File_FileRef_Impl::GetInterface();
253 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0) 255 if (strcmp(name, PPB_FLASH_FILE_MODULELOCAL_INTERFACE) == 0)
254 return PPB_Flash_File_ModuleLocal_Impl::GetInterface(); 256 return PPB_Flash_File_ModuleLocal_Impl::GetInterface();
255 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0) 257 if (strcmp(name, PPB_FLASH_MENU_INTERFACE) == 0)
256 return PPB_Flash_Menu_Impl::GetInterface(); 258 return PPB_Flash_Menu_Impl::GetInterface();
257 if (strcmp(name, PPB_FONT_DEV_INTERFACE) == 0) 259 if (strcmp(name, PPB_FONT_DEV_INTERFACE) == 0)
258 return PPB_Font_Impl::GetInterface(); 260 return PPB_Font_Impl::GetInterface();
259 if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE) == 0) 261 if (strcmp(name, PPB_FULLSCREEN_DEV_INTERFACE) == 0)
260 return PluginInstance::GetFullscreenInterface(); 262 return PluginInstance::GetFullscreenInterface();
261 if (strcmp(name, PPB_GRAPHICS_2D_INTERFACE) == 0) 263 if (strcmp(name, PPB_GRAPHICS_2D_INTERFACE) == 0)
262 return PPB_Graphics2D_Impl::GetInterface(); 264 return PPB_Graphics2D_Impl::GetInterface();
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 if (retval != 0) { 507 if (retval != 0) {
506 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 508 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
507 return false; 509 return false;
508 } 510 }
509 return true; 511 return true;
510 } 512 }
511 513
512 } // namespace ppapi 514 } // namespace ppapi
513 } // namespace webkit 515 } // namespace webkit
514 516
OLDNEW
« no previous file with comments | « webkit/plugins/ppapi/file_path.cc ('k') | webkit/plugins/ppapi/ppb_flash_file_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698