| OLD | NEW |
| 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_audio_input_dev.h" | 9 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 10 #include "ppapi/c/dev/ppb_buffer_dev.h" | 10 #include "ppapi/c/dev/ppb_buffer_dev.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 #include "ppapi/c/private/ppb_host_resolver_private.h" | 83 #include "ppapi/c/private/ppb_host_resolver_private.h" |
| 84 #include "ppapi/c/private/ppb_isolated_file_system_private.h" | 84 #include "ppapi/c/private/ppb_isolated_file_system_private.h" |
| 85 #include "ppapi/c/private/ppb_net_address_private.h" | 85 #include "ppapi/c/private/ppb_net_address_private.h" |
| 86 #include "ppapi/c/private/ppb_output_protection_private.h" | 86 #include "ppapi/c/private/ppb_output_protection_private.h" |
| 87 #include "ppapi/c/private/ppb_pdf.h" | 87 #include "ppapi/c/private/ppb_pdf.h" |
| 88 #include "ppapi/c/private/ppb_platform_verification_private.h" | 88 #include "ppapi/c/private/ppb_platform_verification_private.h" |
| 89 #include "ppapi/c/private/ppb_talk_private.h" | 89 #include "ppapi/c/private/ppb_talk_private.h" |
| 90 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" | 90 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" |
| 91 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 91 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
| 92 #include "ppapi/c/private/ppb_udp_socket_private.h" | 92 #include "ppapi/c/private/ppb_udp_socket_private.h" |
| 93 #include "ppapi/c/private/ppb_uma_private.h" |
| 93 #include "ppapi/c/private/ppb_video_destination_private.h" | 94 #include "ppapi/c/private/ppb_video_destination_private.h" |
| 94 #include "ppapi/c/private/ppb_video_source_private.h" | 95 #include "ppapi/c/private/ppb_video_source_private.h" |
| 95 #include "ppapi/c/private/ppb_x509_certificate_private.h" | 96 #include "ppapi/c/private/ppb_x509_certificate_private.h" |
| 96 #include "ppapi/c/private/ppp_content_decryptor_private.h" | 97 #include "ppapi/c/private/ppp_content_decryptor_private.h" |
| 97 #include "ppapi/c/trusted/ppb_broker_trusted.h" | 98 #include "ppapi/c/trusted/ppb_broker_trusted.h" |
| 98 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" | 99 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
| 99 #include "ppapi/c/trusted/ppb_char_set_trusted.h" | 100 #include "ppapi/c/trusted/ppb_char_set_trusted.h" |
| 100 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" | 101 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" |
| 101 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" | 102 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" |
| 102 #include "ppapi/proxy/interface_proxy.h" | 103 #include "ppapi/proxy/interface_proxy.h" |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 AddPPB(info->name, info->id, info->interface_ptr, perm); | 383 AddPPB(info->name, info->id, info->interface_ptr, perm); |
| 383 } | 384 } |
| 384 | 385 |
| 385 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { | 386 void InterfaceList::AddPPP(const InterfaceProxy::Info* info) { |
| 386 AddProxy(info->id, info->create_proxy); | 387 AddProxy(info->id, info->create_proxy); |
| 387 AddPPP(info->name, info->id, info->interface_ptr); | 388 AddPPP(info->name, info->id, info->interface_ptr); |
| 388 } | 389 } |
| 389 | 390 |
| 390 } // namespace proxy | 391 } // namespace proxy |
| 391 } // namespace ppapi | 392 } // namespace ppapi |
| OLD | NEW |