Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: chrome/browser/extensions/extension_rlz_module.h

Issue 3029001: When I specified the rlz chrome extension api, I explicitly did not include a... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
11 11
12 #include <string> 12 #include <string>
13 13
14 #include "chrome/browser/extensions/extension_function.h" 14 #include "chrome/browser/extensions/extension_function.h"
15 15
16 class RlzRecordProductEventFunction : public SyncExtensionFunction { 16 class RlzRecordProductEventFunction : public SyncExtensionFunction {
17 virtual bool RunImpl(); 17 virtual bool RunImpl();
18 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.recordProductEvent") 18 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.recordProductEvent")
19 }; 19 };
20 20
21 class RlzGetAccessPointRlzFunction : public SyncExtensionFunction { 21 class RlzGetAccessPointRlzFunction : public SyncExtensionFunction {
22 virtual bool RunImpl(); 22 virtual bool RunImpl();
23 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.getAccessPointRlz") 23 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.getAccessPointRlz")
24 }; 24 };
25 25
26 class RlzSendFinancialPingFunction : public SyncExtensionFunction {
27 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.sendFinancialPing")
28 // Making this function protected so that it can be overridden in tests.
29 protected:
30 virtual bool RunImpl();
31 };
32
26 class RlzClearProductStateFunction : public SyncExtensionFunction { 33 class RlzClearProductStateFunction : public SyncExtensionFunction {
27 virtual bool RunImpl(); 34 virtual bool RunImpl();
28 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.clearProductState") 35 DECLARE_EXTENSION_FUNCTION_NAME("experimental.rlz.clearProductState")
29 }; 36 };
30 37
31 #endif // defined(OS_WIN) 38 #endif // defined(OS_WIN)
32 39
33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__ 40 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_RLZ_MODULE_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_rlz_apitest.cc ('k') | chrome/browser/extensions/extension_rlz_module.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698