diff options
author | rogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-01 01:18:06 +0000 |
---|---|---|
committer | rogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-01 01:18:06 +0000 |
commit | 17d40f00b7d7a078649fb142961f612c29553ec0 (patch) | |
tree | 4429a193fa5064a9c4a9784429d86cff01b0ed69 /chrome/browser/extensions/extension_function_dispatcher.cc | |
parent | 05bebf1bc8d96ca3262cd3015af5c8178d3e7f84 (diff) | |
download | chromium_src-17d40f00b7d7a078649fb142961f612c29553ec0.zip chromium_src-17d40f00b7d7a078649fb142961f612c29553ec0.tar.gz chromium_src-17d40f00b7d7a078649fb142961f612c29553ec0.tar.bz2 |
**Reapply change that caused build break in chromeos/arm**
Add support for RLZ chrome extension api.
BUG=None
TEST=See unit tests as part of this CL.
Review URL: http://codereview.chromium.org/2864024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_function_dispatcher.cc')
-rw-r--r-- | chrome/browser/extensions/extension_function_dispatcher.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc index 31d6984..9015a68 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.cc +++ b/chrome/browser/extensions/extension_function_dispatcher.cc @@ -8,7 +8,7 @@ #include "base/singleton.h" #include "base/ref_counted.h" #include "base/values.h" -#include "chrome/browser/browser.h" +#include "build/build_config.h" #include "chrome/browser/browser_list.h" #include "chrome/browser/browser_window.h" #include "chrome/browser/dom_ui/chrome_url_data_manager.h" @@ -36,6 +36,7 @@ #include "chrome/browser/extensions/extension_popup_api.h" #include "chrome/browser/extensions/extension_process_manager.h" #include "chrome/browser/extensions/extension_processes_api.h" +#include "chrome/browser/extensions/extension_rlz_module.h" #include "chrome/browser/extensions/extension_tabs_module.h" #include "chrome/browser/extensions/extension_tabs_module_constants.h" #include "chrome/browser/extensions/extension_test_api.h" @@ -199,6 +200,13 @@ void FactoryRegistry::ResetFunctions() { RegisterFunction<MetricsRecordMediumTimeFunction>(); RegisterFunction<MetricsRecordLongTimeFunction>(); + // RLZ. +#if defined(OS_WIN) + RegisterFunction<RlzRecordProductEventFunction>(); + RegisterFunction<RlzGetAccessPointRlzFunction>(); + RegisterFunction<RlzClearProductStateFunction>(); +#endif + // Cookies. RegisterFunction<GetCookieFunction>(); RegisterFunction<GetAllCookiesFunction>(); |