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

Side by Side Diff: ppapi/proxy/interface_list.cc

Issue 69663002: PPAPI: Implement PPB_FileMapping on POSIX (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows build? Created 6 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
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 "ppapi/proxy/interface_list.h" 5 #include "ppapi/proxy/interface_list.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "ppapi/c/dev/ppb_alarms_dev.h" 9 #include "ppapi/c/dev/ppb_alarms_dev.h"
10 #include "ppapi/c/dev/ppb_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 18 matching lines...) Expand all
29 #include "ppapi/c/dev/ppb_var_resource_dev.h" 29 #include "ppapi/c/dev/ppb_var_resource_dev.h"
30 #include "ppapi/c/dev/ppb_video_capture_dev.h" 30 #include "ppapi/c/dev/ppb_video_capture_dev.h"
31 #include "ppapi/c/dev/ppb_view_dev.h" 31 #include "ppapi/c/dev/ppb_view_dev.h"
32 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 32 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h"
33 #include "ppapi/c/ppb_audio.h" 33 #include "ppapi/c/ppb_audio.h"
34 #include "ppapi/c/ppb_audio_config.h" 34 #include "ppapi/c/ppb_audio_config.h"
35 #include "ppapi/c/ppb_audio_frame.h" 35 #include "ppapi/c/ppb_audio_frame.h"
36 #include "ppapi/c/ppb_console.h" 36 #include "ppapi/c/ppb_console.h"
37 #include "ppapi/c/ppb_core.h" 37 #include "ppapi/c/ppb_core.h"
38 #include "ppapi/c/ppb_file_io.h" 38 #include "ppapi/c/ppb_file_io.h"
39 #include "ppapi/c/ppb_file_mapping.h"
39 #include "ppapi/c/ppb_file_ref.h" 40 #include "ppapi/c/ppb_file_ref.h"
40 #include "ppapi/c/ppb_file_system.h" 41 #include "ppapi/c/ppb_file_system.h"
41 #include "ppapi/c/ppb_fullscreen.h" 42 #include "ppapi/c/ppb_fullscreen.h"
42 #include "ppapi/c/ppb_graphics_2d.h" 43 #include "ppapi/c/ppb_graphics_2d.h"
43 #include "ppapi/c/ppb_host_resolver.h" 44 #include "ppapi/c/ppb_host_resolver.h"
44 #include "ppapi/c/ppb_image_data.h" 45 #include "ppapi/c/ppb_image_data.h"
45 #include "ppapi/c/ppb_input_event.h" 46 #include "ppapi/c/ppb_input_event.h"
46 #include "ppapi/c/ppb_instance.h" 47 #include "ppapi/c/ppb_instance.h"
47 #include "ppapi/c/ppb_media_stream_audio_track.h" 48 #include "ppapi/c/ppb_media_stream_audio_track.h"
48 #include "ppapi/c/ppb_media_stream_video_track.h" 49 #include "ppapi/c/ppb_media_stream_video_track.h"
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 } 359 }
359 360
360 void InterfaceList::AddPPP(const char* name, 361 void InterfaceList::AddPPP(const char* name,
361 const void* iface) { 362 const void* iface) {
362 DCHECK(name_to_plugin_info_.find(name) == name_to_plugin_info_.end()); 363 DCHECK(name_to_plugin_info_.find(name) == name_to_plugin_info_.end());
363 name_to_plugin_info_[name] = InterfaceInfo(iface, PERMISSION_NONE); 364 name_to_plugin_info_[name] = InterfaceInfo(iface, PERMISSION_NONE);
364 } 365 }
365 366
366 } // namespace proxy 367 } // namespace proxy
367 } // namespace ppapi 368 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698