summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_rlz_module.h
diff options
context:
space:
mode:
authorrogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 01:18:06 +0000
committerrogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 01:18:06 +0000
commit17d40f00b7d7a078649fb142961f612c29553ec0 (patch)
tree4429a193fa5064a9c4a9784429d86cff01b0ed69 /chrome/browser/extensions/extension_rlz_module.h
parent05bebf1bc8d96ca3262cd3015af5c8178d3e7f84 (diff)
downloadchromium_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_rlz_module.h')
-rw-r--r--chrome/browser/extensions/extension_rlz_module.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_rlz_module.h b/chrome/browser/extensions/extension_rlz_module.h
new file mode 100644
index 0000000..88affd9
--- /dev/null
+++ b/chrome/browser/extensions/extension_rlz_module.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__
+
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
+
+#include <string>
+
+#include "chrome/browser/extensions/extension_function.h"
+
+class RlzRecordProductEventFunction : public SyncExtensionFunction {
+ virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.recordProductEvent")
+};
+
+class RlzGetAccessPointRlzFunction : public SyncExtensionFunction {
+ virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.getAccessPointRlz")
+};
+
+class RlzClearProductStateFunction : public SyncExtensionFunction {
+ virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.clearProductState")
+};
+
+#endif // defined(OS_WIN)
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__