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-06-28 15:21:50 +0000
committerrogerta@google.com <rogerta@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-28 15:21:50 +0000
commit549c4e3cbf7da1c6d65b865855d055c4dc02e979 (patch)
tree7c66144efc1e53891245507701830f3b88e24e37 /chrome/browser/extensions/extension_rlz_module.h
parent8cc9dd62ea7a7d60ce5486fbd62baf9266fa0f15 (diff)
downloadchromium_src-549c4e3cbf7da1c6d65b865855d055c4dc02e979.zip
chromium_src-549c4e3cbf7da1c6d65b865855d055c4dc02e979.tar.gz
chromium_src-549c4e3cbf7da1c6d65b865855d055c4dc02e979.tar.bz2
Add support for RLZ chrome extension api.
BUG=NONE TEST=See unit tests as part of this CL. Review URL: http://codereview.chromium.org/2804010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50977 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__