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

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

Issue 6903084: Add UMA private PPAPI interface for UMA logging from NaCl plugin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: merge with HEAD Created 9 years, 7 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/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_uma_private_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "ppapi/c/ppp_instance.h" 55 #include "ppapi/c/ppp_instance.h"
56 #include "ppapi/c/private/ppb_flash.h" 56 #include "ppapi/c/private/ppb_flash.h"
57 #include "ppapi/c/private/ppb_flash_clipboard.h" 57 #include "ppapi/c/private/ppb_flash_clipboard.h"
58 #include "ppapi/c/private/ppb_flash_file.h" 58 #include "ppapi/c/private/ppb_flash_file.h"
59 #include "ppapi/c/private/ppb_flash_menu.h" 59 #include "ppapi/c/private/ppb_flash_menu.h"
60 #include "ppapi/c/private/ppb_flash_net_connector.h" 60 #include "ppapi/c/private/ppb_flash_net_connector.h"
61 #include "ppapi/c/private/ppb_instance_private.h" 61 #include "ppapi/c/private/ppb_instance_private.h"
62 #include "ppapi/c/private/ppb_pdf.h" 62 #include "ppapi/c/private/ppb_pdf.h"
63 #include "ppapi/c/private/ppb_proxy_private.h" 63 #include "ppapi/c/private/ppb_proxy_private.h"
64 #include "ppapi/c/private/ppb_nacl_private.h" 64 #include "ppapi/c/private/ppb_nacl_private.h"
65 #include "ppapi/c/private/ppb_uma_private.h"
65 #include "ppapi/c/trusted/ppb_broker_trusted.h" 66 #include "ppapi/c/trusted/ppb_broker_trusted.h"
66 #include "ppapi/c/trusted/ppb_image_data_trusted.h" 67 #include "ppapi/c/trusted/ppb_image_data_trusted.h"
67 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 68 #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
68 #include "webkit/plugins/ppapi/callbacks.h" 69 #include "webkit/plugins/ppapi/callbacks.h"
69 #include "webkit/plugins/ppapi/common.h" 70 #include "webkit/plugins/ppapi/common.h"
70 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 71 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
71 #include "webkit/plugins/ppapi/ppb_audio_impl.h" 72 #include "webkit/plugins/ppapi/ppb_audio_impl.h"
72 #include "webkit/plugins/ppapi/ppb_broker_impl.h" 73 #include "webkit/plugins/ppapi/ppb_broker_impl.h"
73 #include "webkit/plugins/ppapi/ppb_buffer_impl.h" 74 #include "webkit/plugins/ppapi/ppb_buffer_impl.h"
74 #include "webkit/plugins/ppapi/ppb_char_set_impl.h" 75 #include "webkit/plugins/ppapi/ppb_char_set_impl.h"
(...skipping 12 matching lines...) Expand all
87 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h" 88 #include "webkit/plugins/ppapi/ppb_flash_net_connector_impl.h"
88 #include "webkit/plugins/ppapi/ppb_font_impl.h" 89 #include "webkit/plugins/ppapi/ppb_font_impl.h"
89 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h" 90 #include "webkit/plugins/ppapi/ppb_graphics_2d_impl.h"
90 #include "webkit/plugins/ppapi/ppb_image_data_impl.h" 91 #include "webkit/plugins/ppapi/ppb_image_data_impl.h"
91 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h" 92 #include "webkit/plugins/ppapi/ppb_layer_compositor_impl.h"
92 #include "webkit/plugins/ppapi/ppb_nacl_private_impl.h" 93 #include "webkit/plugins/ppapi/ppb_nacl_private_impl.h"
93 #include "webkit/plugins/ppapi/ppb_pdf_impl.h" 94 #include "webkit/plugins/ppapi/ppb_pdf_impl.h"
94 #include "webkit/plugins/ppapi/ppb_proxy_impl.h" 95 #include "webkit/plugins/ppapi/ppb_proxy_impl.h"
95 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h" 96 #include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
96 #include "webkit/plugins/ppapi/ppb_transport_impl.h" 97 #include "webkit/plugins/ppapi/ppb_transport_impl.h"
98 #include "webkit/plugins/ppapi/ppb_uma_private_impl.h"
97 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h" 99 #include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
98 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h" 100 #include "webkit/plugins/ppapi/ppb_url_request_info_impl.h"
99 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h" 101 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h"
100 #include "webkit/plugins/ppapi/ppb_url_util_impl.h" 102 #include "webkit/plugins/ppapi/ppb_url_util_impl.h"
101 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h" 103 #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
102 #include "webkit/plugins/ppapi/ppb_video_layer_impl.h" 104 #include "webkit/plugins/ppapi/ppb_video_layer_impl.h"
103 #include "webkit/plugins/ppapi/ppb_widget_impl.h" 105 #include "webkit/plugins/ppapi/ppb_widget_impl.h"
104 #include "webkit/plugins/ppapi/resource_tracker.h" 106 #include "webkit/plugins/ppapi/resource_tracker.h"
105 #include "webkit/plugins/ppapi/var.h" 107 #include "webkit/plugins/ppapi/var.h"
106 108
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0) 294 if (strcmp(name, PPB_INSTANCE_PRIVATE_INTERFACE) == 0)
293 return PluginInstance::GetPrivateInterface(); 295 return PluginInstance::GetPrivateInterface();
294 if (strcmp(name, PPB_MESSAGING_INTERFACE) == 0) 296 if (strcmp(name, PPB_MESSAGING_INTERFACE) == 0)
295 return PluginInstance::GetMessagingInterface(); 297 return PluginInstance::GetMessagingInterface();
296 if (strcmp(name, PPB_PDF_INTERFACE) == 0) 298 if (strcmp(name, PPB_PDF_INTERFACE) == 0)
297 return PPB_PDF_Impl::GetInterface(); 299 return PPB_PDF_Impl::GetInterface();
298 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0) 300 if (strcmp(name, PPB_PROXY_PRIVATE_INTERFACE) == 0)
299 return PPB_Proxy_Impl::GetInterface(); 301 return PPB_Proxy_Impl::GetInterface();
300 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE) == 0) 302 if (strcmp(name, PPB_SCROLLBAR_DEV_INTERFACE) == 0)
301 return PPB_Scrollbar_Impl::GetInterface(); 303 return PPB_Scrollbar_Impl::GetInterface();
304 if (strcmp(name, PPB_UMA_PRIVATE_INTERFACE) == 0)
305 return PPB_UMA_Private_Impl::GetInterface();
302 if (strcmp(name, PPB_URLLOADER_INTERFACE) == 0) 306 if (strcmp(name, PPB_URLLOADER_INTERFACE) == 0)
303 return PPB_URLLoader_Impl::GetInterface(); 307 return PPB_URLLoader_Impl::GetInterface();
304 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE) == 0) 308 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE) == 0)
305 return PPB_URLLoader_Impl::GetTrustedInterface(); 309 return PPB_URLLoader_Impl::GetTrustedInterface();
306 if (strcmp(name, PPB_URLREQUESTINFO_INTERFACE) == 0) 310 if (strcmp(name, PPB_URLREQUESTINFO_INTERFACE) == 0)
307 return PPB_URLRequestInfo_Impl::GetInterface(); 311 return PPB_URLRequestInfo_Impl::GetInterface();
308 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE) == 0) 312 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE) == 0)
309 return PPB_URLResponseInfo_Impl::GetInterface(); 313 return PPB_URLResponseInfo_Impl::GetInterface();
310 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0) 314 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0)
311 return PPB_URLUtil_Impl::GetInterface(); 315 return PPB_URLUtil_Impl::GetInterface();
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 int retval = entry_points_.initialize_module(pp_module(), &GetInterface); 567 int retval = entry_points_.initialize_module(pp_module(), &GetInterface);
564 if (retval != 0) { 568 if (retval != 0) {
565 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; 569 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval;
566 return false; 570 return false;
567 } 571 }
568 return true; 572 return true;
569 } 573 }
570 574
571 } // namespace ppapi 575 } // namespace ppapi
572 } // namespace webkit 576 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/glue/webkit_glue.gypi ('k') | webkit/plugins/ppapi/ppb_uma_private_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698