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

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

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unused histogram names 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
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 #include "ppapi/c/private/ppb_isolated_file_system_private.h" 86 #include "ppapi/c/private/ppb_isolated_file_system_private.h"
87 #include "ppapi/c/private/ppb_net_address_private.h" 87 #include "ppapi/c/private/ppb_net_address_private.h"
88 #include "ppapi/c/private/ppb_output_protection_private.h" 88 #include "ppapi/c/private/ppb_output_protection_private.h"
89 #include "ppapi/c/private/ppb_pdf.h" 89 #include "ppapi/c/private/ppb_pdf.h"
90 #include "ppapi/c/private/ppb_platform_verification_private.h" 90 #include "ppapi/c/private/ppb_platform_verification_private.h"
91 #include "ppapi/c/private/ppb_talk_private.h" 91 #include "ppapi/c/private/ppb_talk_private.h"
92 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" 92 #include "ppapi/c/private/ppb_tcp_server_socket_private.h"
93 #include "ppapi/c/private/ppb_tcp_socket_private.h" 93 #include "ppapi/c/private/ppb_tcp_socket_private.h"
94 #include "ppapi/c/private/ppb_testing_private.h" 94 #include "ppapi/c/private/ppb_testing_private.h"
95 #include "ppapi/c/private/ppb_udp_socket_private.h" 95 #include "ppapi/c/private/ppb_udp_socket_private.h"
96 #include "ppapi/c/private/ppb_uma_private.h"
96 #include "ppapi/c/private/ppb_video_destination_private.h" 97 #include "ppapi/c/private/ppb_video_destination_private.h"
97 #include "ppapi/c/private/ppb_video_source_private.h" 98 #include "ppapi/c/private/ppb_video_source_private.h"
98 #include "ppapi/c/private/ppb_x509_certificate_private.h" 99 #include "ppapi/c/private/ppb_x509_certificate_private.h"
99 #include "ppapi/c/private/ppp_content_decryptor_private.h" 100 #include "ppapi/c/private/ppp_content_decryptor_private.h"
100 #include "ppapi/c/trusted/ppb_broker_trusted.h" 101 #include "ppapi/c/trusted/ppb_broker_trusted.h"
101 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 102 #include "ppapi/c/trusted/ppb_browser_font_trusted.h"
102 #include "ppapi/c/trusted/ppb_char_set_trusted.h" 103 #include "ppapi/c/trusted/ppb_char_set_trusted.h"
103 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" 104 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h"
104 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 105 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
105 #include "ppapi/proxy/interface_proxy.h" 106 #include "ppapi/proxy/interface_proxy.h"
(...skipping 252 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