summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/discovery/discovery_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/discovery/discovery_api.h')
-rw-r--r--chrome/browser/extensions/api/discovery/discovery_api.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/browser/extensions/api/discovery/discovery_api.h b/chrome/browser/extensions/api/discovery/discovery_api.h
index b4a0817..9336761 100644
--- a/chrome/browser/extensions/api/discovery/discovery_api.h
+++ b/chrome/browser/extensions/api/discovery/discovery_api.h
@@ -11,7 +11,8 @@ namespace extensions {
class DiscoverySuggestFunction : public SyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.suggest");
+ DECLARE_EXTENSION_FUNCTION("experimental.discovery.suggest",
+ EXPERIMENTAL_DISCOVERY_SUGGEST)
protected:
virtual ~DiscoverySuggestFunction() {}
@@ -20,7 +21,8 @@ class DiscoverySuggestFunction : public SyncExtensionFunction {
class DiscoveryRemoveSuggestionFunction : public SyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.removeSuggestion");
+ DECLARE_EXTENSION_FUNCTION("experimental.discovery.removeSuggestion",
+ EXPERIMENTAL_DISCOVERY_REMOVESUGGESTION)
protected:
virtual ~DiscoveryRemoveSuggestionFunction() {}
@@ -29,7 +31,8 @@ class DiscoveryRemoveSuggestionFunction : public SyncExtensionFunction {
class DiscoveryClearAllSuggestionsFunction : public SyncExtensionFunction {
public:
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.clearAllSuggestions");
+ DECLARE_EXTENSION_FUNCTION("experimental.discovery.clearAllSuggestions",
+ EXPERIMENTAL_DISCOVERY_CLEARALLSUGGESTIONS)
protected:
virtual ~DiscoveryClearAllSuggestionsFunction() {}