summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/i18n/i18n_api.h
diff options
context:
space:
mode:
authorrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 23:00:33 +0000
committerrpaquay@chromium.org <rpaquay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 23:00:33 +0000
commit07ad9628854db580899ba0187f4bb51bf10e9572 (patch)
treed63f14fc6b2fbe3349d1dd6128e5d1c744d4a943 /chrome/browser/extensions/api/i18n/i18n_api.h
parent67255b68fc6d15dd5ede9e851de71533bf1aac69 (diff)
downloadchromium_src-07ad9628854db580899ba0187f4bb51bf10e9572.zip
chromium_src-07ad9628854db580899ba0187f4bb51bf10e9572.tar.gz
chromium_src-07ad9628854db580899ba0187f4bb51bf10e9572.tar.bz2
Record histogram of extension API usage
We create one histogram per function name and record each call. BUG=37963 TBR=sky@chromium.org (for mechanical changes in a bunch of chrome/ subdirs) Review URL: https://chromiumcodereview.appspot.com/11577015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177787 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/i18n/i18n_api.h')
-rw-r--r--chrome/browser/extensions/api/i18n/i18n_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/i18n/i18n_api.h b/chrome/browser/extensions/api/i18n/i18n_api.h
index 1975f17..10b4339 100644
--- a/chrome/browser/extensions/api/i18n/i18n_api.h
+++ b/chrome/browser/extensions/api/i18n/i18n_api.h
@@ -10,7 +10,7 @@
class I18nGetAcceptLanguagesFunction : public SyncExtensionFunction {
virtual ~I18nGetAcceptLanguagesFunction() {}
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("i18n.getAcceptLanguages")
+ DECLARE_EXTENSION_FUNCTION("i18n.getAcceptLanguages", I18N_GETACCEPTLANGUAGES)
};
#endif // CHROME_BROWSER_EXTENSIONS_API_I18N_I18N_API_H_