• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_HISTOGRAM_VALUE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_HISTOGRAM_VALUE_H_
7 
8 
9 namespace extensions {
10 namespace functions {
11 
12 // Short version:
13 //  *Never* reorder or delete entries in the |HistogramValue| enumeration.
14 //  When creating a new extension function, add a new entry at the end of the
15 //  enum, just prior to ENUM_BOUNDARY.
16 //
17 // Long version:
18 //  This enumeration is used to associate a unique integer value to each
19 //  extension function so that their usage can be recorded in histogram charts.
20 //  Given we want the values recorded in the these charts to remain stable over
21 //  time for comparison purposes, once an entry has been added to the
22 //  enumeration, it should never be removed or moved to another spot in the
23 //  enum.
24 //
25 //  Here are instructions how to manage entries depending on what you are trying
26 //  to achieve.
27 //
28 //  1) Creating a new extension function:
29 //
30 //      Add a new entry at the end of the |HistogramValue| enum. The name of the
31 //      entry should follow this algorithm:
32 //      a) Take the string value passed as first argument to
33 //         DECLARE_EXTENSION_FUNCTION.
34 //      b) Replace '.' with '_'.
35 //      c) Make all letters uppercase.
36 //
37 //      Example: "tabs.create" -> TABS_CREATE
38 //
39 //  2) Deleting an existing function:
40 //
41 //      Given an existing entry should *never* be removed from this enumeration,
42 //      it is recommended to add a "DELETED_" prefix to the existing entry.
43 //
44 //  3) Renaming an existing function:
45 //
46 //      There are 2 options, depending if you want to keep accruing data in the
47 //      *existing* histogram stream or in a *new* one.
48 //
49 //      a) If you want keep recording usages of the extension function in the
50 //         *existing* histogram stream, simply rename the enum entry to match
51 //         the new extension function name, following the same naming rule as
52 //         mentioned in 1). The enum entry will keep the same underlying integer
53 //         value, so the same histogram stream will be used for recording
54 //         usages.
55 //
56 //      b) If you want start recording usages of the extension function to in a
57 //         *new* histogram stream, follow the instructions in step 1) and 2)
58 //         above. This will effectively deprecate the old histogram stream and
59 //         creates a new one for the new function name.
60 //
61 enum HistogramValue {
62   UNKNOWN = 0,
63   WEBNAVIGATION_GETALLFRAMES,
64   BROWSINGDATA_REMOVEWEBSQL,
65   ALARMS_CREATE,
66   FILEBROWSERPRIVATE_REMOVEFILEWATCH,
67   COOKIES_GET,
68   FONTSETTINGS_GETMINIMUMFONTSIZE,
69   CHROMEOSINFOPRIVATE_GET,
70   BOOKMARKMANAGERPRIVATE_CUT,
71   TABS_CAPTUREVISIBLETAB,
72   MANAGEMENT_SETENABLED,
73   HISTORY_DELETEALL,
74   STORAGE_GET,
75   SOCKET_SETKEEPALIVE,
76   DOWNLOADS_CANCEL,
77   BOOKMARKS_CREATE,
78   BOOKMARKS_UPDATE,
79   FILEBROWSERPRIVATE_GETDRIVEFILES,
80   TERMINALPRIVATE_ONTERMINALRESIZE,
81   DELETED_FILEBROWSERPRIVATE_REQUESTDIRECTORYREFRESH,
82   BLUETOOTH_GETADAPTERSTATE,
83   FILEBROWSERPRIVATE_CANCELFILETRANSFERS,
84   FILEBROWSERPRIVATE_PINDRIVEFILE,
85   SOCKET_WRITE,
86   OMNIBOX_SETDEFAULTSUGGESTION,
87   TTS_SPEAK,
88   WALLPAPERPRIVATE_RESTOREMINIMIZEDWINDOWS,
89   BROWSINGDATA_REMOVEHISTORY,
90   DELETED_FILEBROWSERPRIVATE_ISFULLSCREEN,
91   AUTOTESTPRIVATE_LOGOUT,
92   EXPERIMENTAL_HISTORY_GETMOSTVISITED,
93   BLUETOOTH_DISCONNECT,
94   BLUETOOTH_SETOUTOFBANDPAIRINGDATA,
95   BOOKMARKMANAGERPRIVATE_CANPASTE,
96   AUTOTESTPRIVATE_RESTART,
97   USB_CLAIMINTERFACE,
98   MEDIAPLAYERPRIVATE_SETWINDOWHEIGHT,
99   DELETED_EXPERIMENTAL_PROCESSES_GETPROCESSINFO,
100   HISTORY_GETVISITS,
101   SOCKET_BIND,
102   TABS_MOVE,
103   SOCKET_DISCONNECT,
104   FILESYSTEM_GETWRITABLEENTRY,
105   SYNCFILESYSTEM_REQUESTFILESYSTEM,
106   COMMANDS_GETALL,
107   EXPERIMENTAL_DISCOVERY_REMOVESUGGESTION,
108   VIRTUALKEYBOARDPRIVATE_SENDKEYEVENT,
109   BOOKMARKMANAGERPRIVATE_GETSUBTREE,
110   DELETED_EXPERIMENTAL_RLZ_RECORDPRODUCTEVENT,
111   BOOKMARKS_GETRECENT,
112   APP_CURRENTWINDOWINTERNAL_SETBOUNDS,
113   CLOUDPRINTPRIVATE_SETUPCONNECTOR,
114   SERIAL_SETCONTROLSIGNALS,
115   DELETED_FILEBROWSERPRIVATE_SETLASTMODIFIED,
116   IDLE_SETDETECTIONINTERVAL,
117   FILEBROWSERPRIVATE_GETFILETASKS,
118   WEBSTOREPRIVATE_GETSTORELOGIN,
119   SYSTEMPRIVATE_GETINCOGNITOMODEAVAILABILITY,
120   IDLTEST_SENDARRAYBUFFERVIEW,
121   SOCKET_SETNODELAY,
122   APP_CURRENTWINDOWINTERNAL_SHOW,
123   WEBSTOREPRIVATE_GETBROWSERLOGIN,
124   EXPERIMENTAL_IDENTITY_GETAUTHTOKEN,
125   DELETED_SYSTEMINFO_DISPLAY_GETDISPLAYINFO,
126   BROWSINGDATA_REMOVEPLUGINDATA,
127   SOCKET_LISTEN,
128   MEDIAGALLERIES_GETMEDIAFILESYSTEMS,
129   DOWNLOADS_OPEN,
130   TABS_EXECUTESCRIPT,
131   SYNCFILESYSTEM_GETUSAGEANDQUOTA,
132   INPUTMETHODPRIVATE_GET,
133   USB_CLOSEDEVICE,
134   TTS_STOP,
135   DELETED_SERIAL_GETPORTS,
136   DELETED_FILEBROWSERPRIVATE_CLEARDRIVECACHE,
137   SERIAL_GETCONTROLSIGNALS,
138   DEVELOPERPRIVATE_ENABLE,
139   FILEBROWSERPRIVATE_GETDRIVEFILEPROPERTIES,
140   USB_FINDDEVICES,
141   BOOKMARKMANAGERPRIVATE_DROP,
142   DELETED_FILEBROWSERPRIVATE_GETFILETRANSFERS,
143   INPUT_IME_SETMENUITEMS,
144   BOOKMARKS_EXPORT,
145   HISTORY_SEARCH,
146   TTSENGINE_SENDTTSEVENT,
147   EXPERIMENTAL_ACCESSIBILITY_GETALERTSFORTAB,
148   BOOKMARKS_IMPORT,
149   SYNCFILESYSTEM_DELETEFILESYSTEM,
150   DEBUGGER_SENDCOMMAND,
151   DEBUGGER_DETACH,
152   METRICSPRIVATE_RECORDSMALLCOUNT,
153   APP_CURRENTWINDOWINTERNAL_MINIMIZE,
154   DEVELOPERPRIVATE_AUTOUPDATE,
155   DNS_RESOLVE,
156   DELETED_EXPERIMENTAL_SYSTEMINFO_MEMORY_GET,
157   HISTORY_ADDURL,
158   TABS_GET,
159   BROWSERACTION_SETBADGETEXT,
160   TABS_RELOAD,
161   WINDOWS_CREATE,
162   DEVELOPERPRIVATE_LOADUNPACKED,
163   DELETED_DOWNLOADS_SETDESTINATION,
164   DELETED_EXPERIMENTAL_PROCESSES_GETPROCESSIDFORTAB,
165   BOOKMARKS_GETCHILDREN,
166   BROWSERACTION_GETTITLE,
167   TERMINALPRIVATE_OPENTERMINALPROCESS,
168   DELETED_SERIAL_CLOSE,
169   CONTEXTMENUS_REMOVE,
170   FILEBROWSERPRIVATE_REQUESTFILESYSTEM,
171   ECHOPRIVATE_GETREGISTRATIONCODE,
172   TABS_GETCURRENT,
173   FONTSETTINGS_CLEARDEFAULTFIXEDFONTSIZE,
174   MEDIAPLAYERPRIVATE_CLOSEWINDOW,
175   WEBREQUESTINTERNAL_ADDEVENTLISTENER,
176   CLOUDPRINTPRIVATE_GETPRINTERS,
177   STORAGE_SET,
178   FONTSETTINGS_GETDEFAULTFONTSIZE,
179   EXTENSION_SETUPDATEURLDATA,
180   DELETED_SERIAL_WRITE,
181   IDLE_QUERYSTATE,
182   DELETED_EXPERIMENTAL_RLZ_GETACCESSPOINTRLZ,
183   WEBSTOREPRIVATE_SETSTORELOGIN,
184   PAGEACTIONS_ENABLEFORTAB,
185   COOKIES_SET,
186   CONTENTSETTINGS_SET,
187   CONTEXTMENUS_REMOVEALL,
188   TABS_INSERTCSS,
189   WEBREQUEST_HANDLERBEHAVIORCHANGED,
190   INPUT_IME_SETCURSORPOSITION,
191   OMNIBOX_SENDSUGGESTIONS,
192   SYSTEMINDICATOR_ENABLE,
193   EVENTS_GETRULES,
194   BOOKMARKMANAGERPRIVATE_COPY,
195   SOCKET_RECVFROM,
196   TABS_GETALLINWINDOW,
197   CONTEXTMENUS_UPDATE,
198   BOOKMARKS_SEARCH,
199   EXPERIMENTAL_APP_CLEARALLNOTIFICATIONS,
200   BLUETOOTH_GETLOCALOUTOFBANDPAIRINGDATA,
201   SYSTEMPRIVATE_GETUPDATESTATUS,
202   FONTSETTINGS_CLEARMINIMUMFONTSIZE,
203   DELETED_FILEBROWSERPRIVATE_GETFILELOCATIONS,
204   EXPERIMENTAL_DISCOVERY_SUGGEST,
205   FILEBROWSERPRIVATE_SETDEFAULTTASK,
206   BROWSERACTION_GETBADGETEXT,
207   APP_CURRENTWINDOWINTERNAL_HIDE,
208   SOCKET_CONNECT,
209   BOOKMARKS_GETSUBTREE,
210   HISTORY_DELETEURL,
211   DELETED_EXPERIMENTAL_MEDIAGALLERIES_ASSEMBLEMEDIAFILE,
212   BOOKMARKMANAGERPRIVATE_STARTDRAG,
213   BROWSINGDATA_REMOVEPASSWORDS,
214   DOWNLOADS_DRAG,
215   INPUT_IME_SETCOMPOSITION,
216   METRICSPRIVATE_RECORDUSERACTION,
217   USB_RELEASEINTERFACE,
218   PAGEACTION_GETPOPUP,
219   SCRIPTBADGE_GETATTENTION,
220   FONTSETTINGS_GETFONTLIST,
221   PERMISSIONS_CONTAINS,
222   SCRIPTBADGE_GETPOPUP,
223   EXPERIMENTAL_ACCESSIBILITY_GETFOCUSEDCONTROL,
224   DEVELOPERPRIVATE_GETSTRINGS,
225   METRICSPRIVATE_RECORDMEDIUMCOUNT,
226   MANAGEMENT_GET,
227   PERMISSIONS_GETALL,
228   DOWNLOADS_SHOW,
229   DELETED_EXPERIMENTAL_RLZ_CLEARPRODUCTSTATE,
230   TABS_REMOVE,
231   MANAGEMENT_GETPERMISSIONWARNINGSBYID,
232   WINDOWS_GET,
233   FILEBROWSERPRIVATE_EXECUTETASK,
234   TTS_GETVOICES,
235   MANAGEMENT_GETALL,
236   MANAGEMENT_GETPERMISSIONWARNINGSBYMANIFEST,
237   APP_CURRENTWINDOWINTERNAL_CLEARATTENTION,
238   AUTOTESTPRIVATE_SHUTDOWN,
239   FONTSETTINGS_CLEARDEFAULTFONTSIZE,
240   BOOKMARKS_GETTREE,
241   FILEBROWSERPRIVATE_SELECTFILES,
242   RUNTIME_GETBACKGROUNDPAGE,
243   DELETED_EXPERIMENTAL_RECORD_REPLAYURLS,
244   WEBSTOREPRIVATE_COMPLETEINSTALL,
245   DELETED_EXPERIMENTAL_SPEECHINPUT_START,
246   COOKIES_GETALL,
247   DOWNLOADS_GETFILEICON,
248   PAGEACTION_GETTITLE,
249   BROWSINGDATA_REMOVE,
250   DELETED_SERIAL_OPEN,
251   FILESYSTEM_GETDISPLAYPATH,
252   FILEBROWSERPRIVATE_FORMATVOLUME,
253   BOOKMARKS_GET,
254   DELETED_MANAGEDMODEPRIVATE_GET,
255   ALARMS_CLEAR,
256   SYNCFILESYSTEM_GETFILESYNCSTATUS,
257   SOCKET_GETINFO,
258   WEBSTOREPRIVATE_INSTALLBUNDLE,
259   BROWSERACTION_ENABLE,
260   METRICSPRIVATE_RECORDMEDIUMTIME,
261   PAGEACTION_SETTITLE,
262   CLOUDPRINTPRIVATE_GETHOSTNAME,
263   CONTENTSETTINGS_GETRESOURCEIDENTIFIERS,
264   SOCKET_CREATE,
265   DEVELOPERPRIVATE_RELOAD,
266   FILEBROWSERPRIVATE_GETVOLUMEMETADATALIST,
267   APP_RUNTIME_POSTINTENTRESPONSE,
268   DELETED_MANAGEDMODEPRIVATE_SETPOLICY,
269   WEBSTOREPRIVATE_BEGININSTALLWITHMANIFEST3,
270   WALLPAPERPRIVATE_SETWALLPAPER,
271   USB_CONTROLTRANSFER,
272   DELETED_EXPERIMENTAL_SPEECHINPUT_STOP,
273   USB_BULKTRANSFER,
274   DELETED_FILEBROWSERPRIVATE_GETVOLUMEMETADATA,
275   PAGECAPTURE_SAVEASMHTML,
276   EXTENSION_ISALLOWEDINCOGNITOACCESS,
277   BROWSINGDATA_REMOVEAPPCACHE,
278   APP_CURRENTWINDOWINTERNAL_DRAWATTENTION,
279   METRICSPRIVATE_RECORDCOUNT,
280   USB_INTERRUPTTRANSFER,
281   TYPES_CHROMESETTING_CLEAR,
282   INPUT_IME_COMMITTEXT,
283   IDLTEST_SENDARRAYBUFFER,
284   WALLPAPERPRIVATE_SETWALLPAPERIFEXISTS,
285   SOCKET_ACCEPT,
286   WEBNAVIGATION_GETFRAME,
287   EXPERIMENTAL_POWER_RELEASEKEEPAWAKE,
288   APP_CURRENTWINDOWINTERNAL_SETICON,
289   PUSHMESSAGING_GETCHANNELID,
290   EXPERIMENTAL_INFOBARS_SHOW,
291   INPUT_IME_SETCANDIDATEWINDOWPROPERTIES,
292   METRICSPRIVATE_RECORDPERCENTAGE,
293   TYPES_CHROMESETTING_GET,
294   WINDOWS_GETLASTFOCUSED,
295   DELETED_MANAGEDMODEPRIVATE_GETPOLICY,
296   STORAGE_CLEAR,
297   STORAGE_GETBYTESINUSE,
298   TABS_QUERY,
299   PAGEACTION_SETPOPUP,
300   DEVELOPERPRIVATE_INSPECT,
301   DOWNLOADS_SEARCH,
302   FONTSETTINGS_CLEARFONT,
303   WINDOWS_UPDATE,
304   BOOKMARKMANAGERPRIVATE_CANOPENNEWWINDOWS,
305   SERIAL_FLUSH,
306   BROWSERACTION_SETTITLE,
307   BOOKMARKMANAGERPRIVATE_CANEDIT,
308   WALLPAPERPRIVATE_SETCUSTOMWALLPAPER,
309   BOOKMARKS_REMOVE,
310   INPUT_IME_SETCANDIDATES,
311   TERMINALPRIVATE_CLOSETERMINALPROCESS,
312   HISTORY_DELETERANGE,
313   IDLTEST_GETARRAYBUFFER,
314   TERMINALPRIVATE_SENDINPUT,
315   TABS_HIGHLIGHT,
316   BLUETOOTH_STARTDISCOVERY,
317   FILEBROWSERPRIVATE_SELECTFILE,
318   WINDOWS_GETCURRENT,
319   DEBUGGER_ATTACH,
320   WALLPAPERPRIVATE_SAVETHUMBNAIL,
321   INPUT_IME_KEYEVENTHANDLED,
322   FONTSETTINGS_SETDEFAULTFONTSIZE,
323   RUNTIME_REQUESTUPDATECHECK,
324   PAGEACTION_SETICON,
325   BROWSERACTION_SETBADGEBACKGROUNDCOLOR,
326   DEVELOPERPRIVATE_GETITEMSINFO,
327   BLUETOOTH_STOPDISCOVERY,
328   COOKIES_REMOVE,
329   DELETED_EXPERIMENTAL_RLZ_SENDFINANCIALPING,
330   TABCAPTURE_GETCAPTUREDTABS,
331   WINDOWS_REMOVE,
332   WALLPAPERPRIVATE_GETOFFLINEWALLPAPERLIST,
333   BROWSERACTION_GETBADGEBACKGROUNDCOLOR,
334   PAGEACTIONS_DISABLEFORTAB,
335   DEVELOPERPRIVATE_ALLOWFILEACCESS,
336   FILEBROWSERPRIVATE_REMOVEMOUNT,
337   BLUETOOTH_CONNECT,
338   TABCAPTURE_CAPTURE,
339   NOTIFICATIONS_CREATE,
340   TABS_DUPLICATE,
341   BLUETOOTH_WRITE,
342   PAGEACTION_SHOW,
343   WALLPAPERPRIVATE_GETTHUMBNAIL,
344   DOWNLOADS_PAUSE,
345   PERMISSIONS_REQUEST,
346   TOPSITES_GET,
347   BROWSINGDATA_REMOVEDOWNLOADS,
348   BROWSINGDATA_REMOVELOCALSTORAGE,
349   FILEBROWSERHANDLERINTERNAL_SELECTFILE,
350   INPUT_IME_UPDATEMENUITEMS,
351   FILEBROWSERPRIVATE_GETSTRINGS,
352   CONTENTSETTINGS_GET,
353   FONTSETTINGS_SETDEFAULTFIXEDFONTSIZE,
354   EXPERIMENTAL_APP_NOTIFY,
355   METRICSPRIVATE_RECORDLONGTIME,
356   SOCKET_READ,
357   DELETED_EXPERIMENTAL_PROCESSES_TERMINATE,
358   METRICSPRIVATE_RECORDTIME,
359   BOOKMARKMANAGERPRIVATE_GETSTRINGS,
360   USB_ISOCHRONOUSTRANSFER,
361   PERMISSIONS_REMOVE,
362   MANAGEMENT_UNINSTALL,
363   I18N_GETACCEPTLANGUAGES,
364   MANAGEMENT_LAUNCHAPP,
365   INPUT_IME_CLEARCOMPOSITION,
366   ALARMS_GETALL,
367   DIAL_DISCOVERNOW,
368   TYPES_CHROMESETTING_SET,
369   BROWSERACTION_SETICON,
370   EXPERIMENTAL_ACCESSIBILITY_SETACCESSIBILITYENABLED,
371   DELETED_FILEBROWSERPRIVATE_VIEWFILES,
372   BLUETOOTH_GETSERVICES,
373   TABS_UPDATE,
374   BROWSINGDATA_REMOVEFORMDATA,
375   DELETED_FILEBROWSERPRIVATE_RELOADDRIVE,
376   ALARMS_GET,
377   BROWSINGDATA_REMOVEINDEXEDDB,
378   FILEBROWSERPRIVATE_ADDFILEWATCH,
379   CONTENTSETTINGS_CLEAR,
380   FILEBROWSERPRIVATE_GETPREFERENCES,
381   BOOKMARKMANAGERPRIVATE_PASTE,
382   FILESYSTEM_ISWRITABLEENTRY,
383   USB_SETINTERFACEALTERNATESETTING,
384   FONTSETTINGS_SETMINIMUMFONTSIZE,
385   BROWSERACTION_GETPOPUP,
386   SOCKET_DESTROY,
387   BLUETOOTH_GETDEVICES,
388   ALARMS_CLEARALL,
389   FONTSETTINGS_GETDEFAULTFIXEDFONTSIZE,
390   FILEBROWSERPRIVATE_ZIPSELECTION,
391   SYSTEMINDICATOR_DISABLE,
392   SCRIPTBADGE_SETPOPUP,
393   EXTENSION_ISALLOWEDFILESCHEMEACCESS,
394   EXPERIMENTAL_IDENTITY_LAUNCHWEBAUTHFLOW,
395   FILEBROWSERPRIVATE_GETDRIVECONNECTIONSTATE,
396   TABS_DETECTLANGUAGE,
397   METRICSPRIVATE_RECORDVALUE,
398   BOOKMARKMANAGERPRIVATE_SORTCHILDREN,
399   DELETED_SERIAL_READ,
400   APP_CURRENTWINDOWINTERNAL_MAXIMIZE,
401   EXPERIMENTAL_DISCOVERY_CLEARALLSUGGESTIONS,
402   DELETED_MANAGEDMODEPRIVATE_ENTER,
403   DELETED_FILEBROWSERPRIVATE_TRANSFERFILE,
404   BROWSERACTION_SETPOPUP,
405   TABS_GETSELECTED,
406   FONTSETTINGS_GETFONT,
407   BLUETOOTH_READ,
408   WEBREQUESTINTERNAL_EVENTHANDLED,
409   EVENTS_ADDRULES,
410   CONTEXTMENUS_CREATE,
411   MEDIAPLAYERPRIVATE_GETPLAYLIST,
412   DOWNLOADS_ERASE,
413   DELETED_EXPERIMENTAL_RECORD_CAPTUREURLS,
414   TTS_ISSPEAKING,
415   BOOKMARKS_REMOVETREE,
416   FILEBROWSERPRIVATE_SEARCHDRIVE,
417   DELETED_EXPERIMENTAL_SYSTEMINFO_CPU_GET,
418   FILEBROWSERPRIVATE_SETPREFERENCES,
419   FONTSETTINGS_SETFONT,
420   SOCKET_GETNETWORKLIST,
421   BOOKMARKS_MOVE,
422   WALLPAPERPRIVATE_MINIMIZEINACTIVEWINDOWS,
423   STORAGE_REMOVE,
424   AUTOTESTPRIVATE_LOGINSTATUS,
425   TABS_CREATE,
426   FILEBROWSERPRIVATE_CANCELDIALOG,
427   BROWSINGDATA_REMOVECOOKIES,
428   FILESYSTEM_CHOOSEENTRY,
429   MEDIAPLAYERPRIVATE_PLAY,
430   WEBSTOREPRIVATE_GETWEBGLSTATUS,
431   SOCKET_SENDTO,
432   BROWSINGDATA_REMOVEFILESYSTEMS,
433   WALLPAPERPRIVATE_GETSTRINGS,
434   BROWSINGDATA_REMOVECACHE,
435   BOOKMARKMANAGERPRIVATE_RECORDLAUNCH,
436   BROWSERACTION_DISABLE,
437   DELETED_EXPERIMENTAL_SPEECHINPUT_ISRECORDING,
438   APP_WINDOW_CREATE,
439   RUNTIME_RELOAD,
440   EXPERIMENTAL_POWER_REQUESTKEEPAWAKE,
441   SYSTEMINDICATOR_SETICON,
442   FILEBROWSERPRIVATE_ADDMOUNT,
443   APP_CURRENTWINDOWINTERNAL_FOCUS,
444   EVENTS_REMOVERULES,
445   DOWNLOADS_DOWNLOAD,
446   WINDOWS_GETALL,
447   DELETED_FILEBROWSERPRIVATE_TOGGLEFULLSCREEN,
448   APP_CURRENTWINDOWINTERNAL_RESTORE,
449   DELETED_WEBSOCKETPROXYPRIVATE_GETPASSPORTFORTCP,
450   PAGEACTION_HIDE,
451   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_GET,
452   DOWNLOADS_ACCEPTDANGER,
453   DELETED_WEBSOCKETPROXYPRIVATE_GETURLFORTCP,
454   FILEBROWSERPRIVATE_GETSIZESTATS,
455   DOWNLOADS_RESUME,
456   COOKIES_GETALLCOOKIESTORES,
457   MEDIAGALLERIESPRIVATE_ADDGALLERYWATCH,
458   MEDIAGALLERIESPRIVATE_REMOVEGALLERYWATCH,
459   WEBVIEW_EXECUTESCRIPT,
460   NOTIFICATIONS_UPDATE,
461   NOTIFICATIONS_CLEAR,
462   DELETED_SESSIONRESTORE_GETRECENTLYCLOSED,
463   DELETED_SESSIONRESTORE_RESTORE,
464   MANAGEMENT_UNINSTALLSELF,
465   ECHOPRIVATE_GETOOBETIMESTAMP,
466   FILEBROWSERPRIVATE_VALIDATEPATHNAMELENGTH,
467   BROWSINGDATA_SETTINGS,
468   WEBSTOREPRIVATE_GETISLAUNCHERENABLED,
469   NETWORKINGPRIVATE_GETPROPERTIES,
470   NETWORKINGPRIVATE_GETVISIBLENETWORKS,
471   NETWORKINGPRIVATE_STARTCONNECT,
472   NETWORKINGPRIVATE_STARTDISCONNECT,
473   MEDIAGALLERIESPRIVATE_GETALLGALLERYWATCH,
474   MEDIAGALLERIESPRIVATE_REMOVEALLGALLERYWATCH,
475   FILEBROWSERPRIVATE_SEARCHDRIVEMETADATA,
476   DELETED_ECHOPRIVATE_CHECKALLOWREDEEMOFFERS,
477   DELETED_MEDIAGALLERIESPRIVATE_EJECTDEVICE,
478   FILEBROWSERPRIVATE_LOGOUTUSERFORREAUTHENTICATION,
479   DEVELOPERPRIVATE_CHOOSEPATH,
480   DEVELOPERPRIVATE_PACKDIRECTORY,
481   NETWORKINGPRIVATE_VERIFYDESTINATION,
482   NETWORKINGPRIVATE_VERIFYANDENCRYPTCREDENTIALS,
483   NETWORKINGPRIVATE_VERIFYANDENCRYPTDATA,
484   DEVELOPERPRIVATE_RESTART,
485   DEVELOPERPRIVATE_ALLOWINCOGNITO,
486   INPUT_IME_DELETESURROUNDINGTEXT,
487   DELETED_FILEBROWSERPRIVATE_OPENNEWWINDOW,
488   CLOUDPRINTPRIVATE_GETCLIENTID,
489   ECHOPRIVATE_GETUSERCONSENT,
490   SYNCFILESYSTEM_SETCONFLICTRESOLUTIONPOLICY,
491   SYNCFILESYSTEM_GETCONFLICTRESOLUTIONPOLICY,
492   NETWORKINGPRIVATE_SETPROPERTIES,
493   NETWORKINGPRIVATE_GETSTATE,
494   POWER_REQUESTKEEPAWAKE,
495   POWER_RELEASEKEEPAWAKE,
496   WALLPAPERPRIVATE_SETCUSTOMWALLPAPERLAYOUT,
497   DOWNLOADSINTERNAL_DETERMINEFILENAME,
498   SYNCFILESYSTEM_GETFILESYNCSTATUSES,
499   MEDIAGALLERIESPRIVATE_GETHANDLERS,
500   WALLPAPERPRIVATE_RESETWALLPAPER,
501   DEVELOPERPRIVATE_PERMISSIONS,
502   WEBSTOREPRIVATE_ENABLEAPPLAUNCHER,
503   APP_CURRENTWINDOWINTERNAL_FULLSCREEN,
504   DEVELOPERPRIVATE_LOADUNPACKEDCROS,
505   NETWORKINGPRIVATE_REQUESTNETWORKSCAN,
506   ENTERPRISE_PLATFORMKEYSPRIVATE_CHALLENGEMACHINEKEY,
507   ENTERPRISE_PLATFORMKEYSPRIVATE_CHALLENGEUSERKEY,
508   DEVELOPERPRIVATE_LOADPROJECTTOSYNCFS,
509   DEVELOPERPRIVATE_GETPROJECTSINFO,
510   DEVELOPERPRIVATE_LOADPROJECT,
511   COMMANDLINEPRIVATE_HASSWITCH,
512   NETWORKINGPRIVATE_GETMANAGEDPROPERTIES,
513   LOCATION_WATCHLOCATION,
514   LOCATION_CLEARWATCH,
515   BLUETOOTH_ADDPROFILE,
516   BLUETOOTH_REMOVEPROFILE,
517   BLUETOOTH_GETPROFILES,
518   EXPERIMENTAL_IDENTITY_REMOVECACHEDAUTHTOKEN,
519   AUDIO_GETINFO,
520   AUDIO_SETACTIVEDEVICES,
521   AUDIO_SETPROPERTIES,
522   USB_RESETDEVICE,
523   SOCKET_MULTICAST_JOIN_GROUP,
524   SOCKET_MULTICAST_LEAVE_GROUP,
525   SOCKET_MULTICAST_SET_TIME_TO_LIVE,
526   SOCKET_MULTICAST_SET_LOOPBACK_MODE,
527   SOCKET_MULTICAST_GET_JOINED_GROUPS,
528   EXPERIMENTAL_ACCESSIBILITY_SETNATIVEACCESSIBILITYENABLED,
529   RUNTIME_GETPLATFORMINFO,
530   WEBVIEW_INSERTCSS,
531   METRICSPRIVATE_GETISCRASHRECORDINGENABLED,
532   IDENTITYPRIVATE_GETRESOURCES,
533   NOTIFICATIONS_GET_ALL,
534   USB_LISTINTERFACES,
535   FILESYSTEM_RETAINENTRY,
536   FILESYSTEM_ISRESTORABLE,
537   FILESYSTEM_RESTOREENTRY,
538   RUNTIME_SETUNINSTALLURL,
539   INPUTMETHODPRIVATE_STARTIME,
540   MUSICMANAGERPRIVATE_GETDEVICEID,
541   TTS_PAUSE,
542   TTS_RESUME,
543   DELETED_SYSTEMINFO_CPU_GET,
544   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_ADDWATCH,
545   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_REMOVEWATCH,
546   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_GETALLWATCH,
547   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_REMOVEALLWATCH,
548   DELETED_SYSTEMINFO_MEMORY_GET,
549   ACTIVITYLOGPRIVATE_GETEXTENSIONACTIVITIES,
550   RUNTIME_GETPACKAGEDIRECTORYENTRY,
551   DELETED_SYSTEMINFO_DISPLAY_SETDISPLAYPROPERTIES,
552   FEEDBACKPRIVATE_GETUSEREMAIL,
553   FEEDBACKPRIVATE_GETSYSTEMINFORMATION,
554   FEEDBACKPRIVATE_SENDFEEDBACK,
555   VIRTUALKEYBOARDPRIVATE_INSERTTEXT,
556   DIAGNOSTICS_SENDPACKET,
557   METRICSPRIVATE_GETFIELDTRIAL,
558   FILEBROWSERPRIVATE_ZOOM,
559   WEBVIEW_GO,
560   WEBSTOREPRIVATE_ISININCOGNITOMODEFUNCTION,
561   FILEBROWSERPRIVATE_REQUESTACCESSTOKEN,
562   WEBVIEW_STOP,
563   WEBVIEW_RELOAD,
564   WEBVIEW_TERMINATE,
565   TYPES_PRIVATE_CHROMEDIRECTSETTING_GET,
566   TYPES_PRIVATE_CHROMEDIRECTSETTING_SET,
567   TYPES_PRIVATE_CHROMEDIRECTSETTING_CLEAR,
568   DELETED_EXPERIMENTAL_SYSTEMINFO_STORAGE_EJECTDEVICE,
569   SYSTEM_CPU_GETINFO,
570   BOOKMARKMANAGERPRIVATE_REMOVETREES,
571   SYSTEM_DISPLAY_GETINFO,
572   SYSTEM_DISPLAY_SETDISPLAYPROPERTIES,
573   SYSTEM_MEMORY_GETINFO,
574   FILEBROWSERPRIVATE_GETSHAREURL,
575   SYSTEM_STORAGE_GETINFO,
576   SYSTEM_STORAGE_EJECTDEVICE,
577   DELETED_SYSTEM_STORAGE_ADDAVAILABLECAPACITYWATCH,
578   DELETED_SYSTEM_STORAGE_REMOVEAVAILABLECAPACITYWATCH,
579   DELETED_SYSTEM_STORAGE_GETALLAVAILABLECAPACITYWATCHES,
580   DELETED_SYSTEM_STORAGE_REMOVEALLAVAILABLECAPACITYWATCHES,
581   DOWNLOADS_REMOVEFILE,
582   DOWNLOADS_SHOWDEFAULTFOLDER,
583   INFOBARS_SHOW,
584   DOWNLOADS_SETSHELFENABLED,
585   IMAGEWRITER_WRITEFROMURL,
586   IMAGEWRITER_WRITEFROMFILE,
587   IMAGEWRITER_CANCELWRITE,
588   IMAGEWRITER_DESTROYPARTITIONS,
589   FEEDBACKPRIVATE_GETSTRINGS,
590   LOGPRIVATE_GETHISTORICAL,
591   VIRTUALKEYBOARDPRIVATE_MOVECURSOR,
592   METRICSPRIVATE_GETVARIATIONPARAMS,
593   WEBVIEW_SETPERMISSION,
594   DESKTOPCAPTURE_CHOOSEDESKTOPMEDIA,
595   APP_CURRENTWINDOWINTERNAL_SETSHAPE,
596   PROCESSES_GETPROCESSINFO,
597   PROCESSES_GETPROCESSIDFORTAB,
598   PROCESSES_TERMINATE,
599   SOCKETS_UDP_CREATE,
600   SOCKETS_UDP_UPDATE,
601   SOCKETS_UDP_BIND,
602   SOCKETS_UDP_SEND,
603   SOCKETS_UDP_CLOSE,
604   SOCKETS_UDP_GETINFO,
605   SOCKETS_UDP_GETSOCKETS,
606   SOCKETS_UDP_JOINGROUP,
607   SOCKETS_UDP_LEAVEGROUP,
608   SOCKETS_UDP_SETMULTICASTTIMETOLIVE,
609   SOCKETS_UDP_SETMULTICASTLOOPBACKMODE,
610   SOCKETS_UDP_GETJOINEDGROUPS,
611   SIGNED_IN_DEVICES_GET,
612   AUTOTESTPRIVATE_SIMULATEASANMEMORYBUG,
613   WEBVIEW_CLEARDATA,
614   SESSIONS_GETRECENTLYCLOSED,
615   SESSIONS_GETDEVICES,
616   SESSIONS_RESTORE,
617   SYNCFILESYSTEM_GETSERVICESTATUS,
618   ECHOPRIVATE_SETOFFERINFO,
619   ECHOPRIVATE_GETOFFERINFO,
620   DEVELOPERPRIVATE_ISPROFILEMANAGED,
621   FILEBROWSERPRIVATE_INSTALLWEBSTOREITEM,
622   FILEBROWSERPRIVATE_STARTCOPY,
623   FILEBROWSERPRIVATE_CANCELCOPY,
624   NETWORKINGPRIVATE_CREATENETWORK,
625   BRAILLEDISPLAYPRIVATE_GETDISPLAYSTATE,
626   BRAILLEDISPLAYPRIVATE_WRITEDOTS,
627   USB_GETDEVICES,
628   USB_REQUESTACCESS,
629   USB_OPENDEVICE,
630   ACTIVITYLOGPRIVATE_DELETEDATABASE,
631   ACTIVITYLOGPRIVATE_DELETEURLS,
632   FILEBROWSERPRIVATE_REQUESTWEBSTOREACCESSTOKEN,
633   IMAGEWRITER_LISTREMOVABLESTORAGEDEVICES,
634   WALLPAPER_SETWALLPAPER,
635   VIRTUALKEYBOARDPRIVATE_HIDEKEYBOARD,
636   AUTOTESTPRIVATE_LOCKSCREEN,
637   WEBRTCLOGGINGPRIVATE_SETMETADATA,
638   WEBRTCLOGGINGPRIVATE_START,
639   WEBRTCLOGGINGPRIVATE_SETUPLOADONRENDERCLOSE,
640   WEBRTCLOGGINGPRIVATE_STOP,
641   WEBRTCLOGGINGPRIVATE_UPLOAD,
642   WEBRTCLOGGINGPRIVATE_DISCARD,
643   WEBVIEW_OVERRIDEUSERAGENT,
644   PRINCIPALSPRIVATE_SHOWAVATARBUBBLE,
645   PRINCIPALSPRIVATE_SIGNOUT,
646   CAST_CHANNEL_OPEN,
647   CAST_CHANNEL_SEND,
648   CAST_CHANNEL_CLOSE,
649   RUNTIME_RESTART,
650   DESKTOPCAPTURE_CANCELCHOOSEDESKTOPMEDIA,
651   APP_CURRENTWINDOWINTERNAL_SETALWAYSONTOP,
652   SOCKETS_TCP_CREATE,
653   SOCKETS_TCP_UPDATE,
654   SOCKETS_TCP_SETPAUSED,
655   SOCKETS_TCP_SETKEEPALIVE,
656   SOCKETS_TCP_SETNODELAY,
657   SOCKETS_TCP_CONNECT,
658   SOCKETS_TCP_DISCONNECT,
659   SOCKETS_TCP_SEND,
660   SOCKETS_TCP_CLOSE,
661   SOCKETS_TCP_GETINFO,
662   SOCKETS_TCP_GETSOCKETS,
663   NETWORKINGPRIVATE_GETENABLEDNETWORKTYPES,
664   NETWORKINGPRIVATE_ENABLENETWORKTYPE,
665   NETWORKINGPRIVATE_DISABLENETWORKTYPE,
666   SOCKETS_TCP_SERVER_CREATE,
667   SOCKETS_TCP_SERVER_UPDATE,
668   SOCKETS_TCP_SERVER_SETPAUSED,
669   SOCKETS_TCP_SERVER_LISTEN,
670   SOCKETS_TCP_SERVER_DISCONNECT,
671   SOCKETS_TCP_SERVER_CLOSE,
672   SOCKETS_TCP_SERVER_GETINFO,
673   SOCKETS_TCP_SERVER_GETSOCKETS,
674   SYSTEM_STORAGE_GETAVAILABLECAPACITY,
675   BROWSERACTION_OPEN_POPUP,
676   WEBRTC_AUDIO_PRIVATE_GET_SINKS,
677   WEBRTC_AUDIO_PRIVATE_GET_ACTIVE_SINK,
678   WEBRTC_AUDIO_PRIVATE_SET_ACTIVE_SINK,
679   WEBRTC_AUDIO_PRIVATE_GET_ASSOCIATED_SINK,
680   VIRTUALKEYBOARDPRIVATE_KEYBOARDLOADED,
681   APP_CURRENTWINDOWINTERNAL_SETMINWIDTH,
682   APP_CURRENTWINDOWINTERNAL_SETMINHEIGHT,
683   APP_CURRENTWINDOWINTERNAL_SETMAXWIDTH,
684   APP_CURRENTWINDOWINTERNAL_SETMAXHEIGHT,
685   SYSTEMPRIVATE_GETAPIKEY,
686   CHROMEOSINFOPRIVATE_SET,
687   BOOKMARKMANAGERPRIVATE_GETMETAINFO,
688   BOOKMARKMANAGERPRIVATE_SETMETAINFO,
689   FILESYSTEMPROVIDER_MOUNT,
690   AUTOTESTPRIVATE_GETEXTENSIONSINFO,
691   SCREENLOCKPRIVATE_GETLOCKED,
692   SCREENLOCKPRIVATE_SETLOCKED,
693   SCREENLOCKPRIVATE_SHOWMESSAGE,
694   FEEDBACKPRIVATE_GETHISTOGRAMS,
695   SYSTEM_NETWORK_GETNETWORKINTERFACES,
696   SERIAL_GETDEVICES,
697   SERIAL_UPDATE,
698   SERIAL_SETPAUSED,
699   SERIAL_GETINFO,
700   SERIAL_GETCONNECTIONS,
701   SERIAL_SEND,
702   GCM_REGISTER,
703   GCM_SEND,
704   SERIAL_CONNECT,
705   SERIAL_DISCONNECT,
706   MEDIAGALLERIES_GETALLMEDIAFILESYSTEMMETADATA,
707   FIRSTRUNPRIVATE_GETLOCALIZEDSTRINGS,
708   FIRSTRUNPRIVATE_LAUNCHTUTORIAL,
709   SOCKETS_UDP_SETPAUSED,
710   WEBVIEW_CAPTUREVISIBLEREGION,
711   MEDIAGALLERIES_GETMETADATA,
712   INPUT_IME_SENDKEYEVENTS,
713   VIRTUALKEYBOARDPRIVATE_LOCKKEYBOARD,
714   ENUM_BOUNDARY // Last entry: Add new entries above.
715 };
716 
717 }  // namespace functions
718 }  // namespace extensions
719 
720 #endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_FUNCTION_HISTOGRAM_VALUE_H_
721