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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/tools/pepper_hash_for_uma.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/interfaces_ppb_public_stable.h
diff --git a/ppapi/thunk/interfaces_ppb_public_stable.h b/ppapi/thunk/interfaces_ppb_public_stable.h
index afbf19b9e7bc74294d3794396685c0ed8c1ca34e..45ce4d7431dc24833dc6342bb03096768fbec708 100644
--- a/ppapi/thunk/interfaces_ppb_public_stable.h
+++ b/ppapi/thunk/interfaces_ppb_public_stable.h
@@ -7,7 +7,13 @@
// This file contains lists of interfaces. It's intended to be included by
// another file which defines implementations of the macros. This allows files
// to do specific registration tasks for each supported interface.
-
+//
+// When adding an interface, you must also add the hash value for the
+// interface's name to tools/metrics/histograms/histograms.xml. This is so we
+// get human-readable UMA tracking for interface usage.
+//
+// Use the 'pepper_hash_for_uma' tool in ppapi/tools to determine the hash for
+// a given interface string.
// Api categories
// --------------
« 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