diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:14:59 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 23:14:59 +0000 |
commit | 61424c0631ac4cc5838cf6a80406fc98ca60220d (patch) | |
tree | 773f1a61d46c82b01886ff9dfff318292f67d8fb /chrome/browser/extensions/extension_i18n_api.h | |
parent | 980656f5f9500c6a79152434652b8817dd6b7a03 (diff) | |
download | chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.zip chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.tar.gz chromium_src-61424c0631ac4cc5838cf6a80406fc98ca60220d.tar.bz2 |
Small cleanup to extension function registration to avoid scattered definitions.
BUG=no
Review URL: http://codereview.chromium.org/274059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_i18n_api.h')
-rw-r--r-- | chrome/browser/extensions/extension_i18n_api.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_i18n_api.h b/chrome/browser/extensions/extension_i18n_api.h index 8fc18ac..b7e0cd9 100644 --- a/chrome/browser/extensions/extension_i18n_api.h +++ b/chrome/browser/extensions/extension_i18n_api.h @@ -7,12 +7,9 @@ #include "chrome/browser/extensions/extension_function.h" -namespace extension_i18n_api_functions { - extern const char kGetAcceptLanguagesFunction[]; -}; // namespace extension_i18n_api_functions - class GetAcceptLanguagesFunction : public SyncExtensionFunction { virtual bool RunImpl(); + DECLARE_EXTENSION_FUNCTION_NAME("i18n.getAcceptLanguages") }; #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_I18N_API_H__ |