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

Side by Side Diff: ppapi/thunk/interfaces_ppb_public_stable.h

Issue 141523010: Pepper: Log in UMA when an interface is used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased again Created 6 years, 10 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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/tools/pepper_hash_for_uma.cc » ('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) 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/thunk/interfaces_preamble.h" 5 #include "ppapi/thunk/interfaces_preamble.h"
6 6
7 // This file contains lists of interfaces. It's intended to be included by 7 // This file contains lists of interfaces. It's intended to be included by
8 // another file which defines implementations of the macros. This allows files 8 // another file which defines implementations of the macros. This allows files
9 // to do specific registration tasks for each supported interface. 9 // to do specific registration tasks for each supported interface.
10 10 //
11 // When adding an interface, you must also add the hash value for the
12 // interface's name to tools/metrics/histograms/histograms.xml. This is so we
13 // get human-readable UMA tracking for interface usage.
14 //
15 // Use the 'pepper_hash_for_uma' tool in ppapi/tools to determine the hash for
16 // a given interface string.
11 17
12 // Api categories 18 // Api categories
13 // -------------- 19 // --------------
14 // Enumerates the categories of APIs. These correspnd to the *_api.h files in 20 // Enumerates the categories of APIs. These correspnd to the *_api.h files in
15 // this directory. One API may implement one or more actual interfaces. 21 // this directory. One API may implement one or more actual interfaces.
16 // 22 //
17 // For PROXIED_APIs, these also correspond to *_Proxy objects. The proxied ones 23 // For PROXIED_APIs, these also correspond to *_Proxy objects. The proxied ones
18 // define factory functions for each of these classes. UNPROXIED_APIs are ones 24 // define factory functions for each of these classes. UNPROXIED_APIs are ones
19 // that exist in the webkit/plugins/ppapi/*_impl.h, but not in the proxy. 25 // that exist in the webkit/plugins/ppapi/*_impl.h, but not in the proxy.
20 PROXIED_API(PPB_Audio) 26 PROXIED_API(PPB_Audio)
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 96
91 // Note: PPB_Var and PPB_VarArrayBuffer are special and registered manually. 97 // Note: PPB_Var and PPB_VarArrayBuffer are special and registered manually.
92 PROXIED_IFACE(PPB_VIEW_INTERFACE_1_0, PPB_View_1_0) 98 PROXIED_IFACE(PPB_VIEW_INTERFACE_1_0, PPB_View_1_0)
93 PROXIED_IFACE(PPB_VIEW_INTERFACE_1_1, PPB_View_1_1) 99 PROXIED_IFACE(PPB_VIEW_INTERFACE_1_1, PPB_View_1_1)
94 100
95 // This has no corresponding _Proxy object since it does no IPC. 101 // This has no corresponding _Proxy object since it does no IPC.
96 PROXIED_IFACE(PPB_AUDIO_CONFIG_INTERFACE_1_0, PPB_AudioConfig_1_0) 102 PROXIED_IFACE(PPB_AUDIO_CONFIG_INTERFACE_1_0, PPB_AudioConfig_1_0)
97 PROXIED_IFACE(PPB_AUDIO_CONFIG_INTERFACE_1_1, PPB_AudioConfig_1_1) 103 PROXIED_IFACE(PPB_AUDIO_CONFIG_INTERFACE_1_1, PPB_AudioConfig_1_1)
98 104
99 #include "ppapi/thunk/interfaces_postamble.h" 105 #include "ppapi/thunk/interfaces_postamble.h"
OLDNEW
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/tools/pepper_hash_for_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698