summaryrefslogtreecommitdiffstats
path: root/chrome/browser/intents/web_intents_registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/intents/web_intents_registry.h')
-rw-r--r--chrome/browser/intents/web_intents_registry.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/intents/web_intents_registry.h b/chrome/browser/intents/web_intents_registry.h
index 473175a..dbb2e08 100644
--- a/chrome/browser/intents/web_intents_registry.h
+++ b/chrome/browser/intents/web_intents_registry.h
@@ -77,6 +77,15 @@ class WebIntentsRegistry
const webkit_glue::WebIntentServiceData& service,
const base::Callback<void(bool)>& callback);
+ // Requests all extension services matching |action|, |mimetype| and
+ // |extension_id|.
+ // |mimetype| must conform to definition as outlined for GetIntentServices.
+ // |consumer| must not be NULL.
+ QueryID GetIntentServicesForExtensionFilter(const string16& action,
+ const string16& mimetype,
+ const std::string& extension_id,
+ Consumer* consumer);
+
// Record the given default service entry.
virtual void RegisterDefaultIntentService(
const DefaultWebIntentService& default_service);
@@ -122,6 +131,10 @@ class WebIntentsRegistry
WebDataService::Handle h,
const WDTypedResult* result);
+ // Implementation of GetIntentServicesForExtensionFilter.
+ void DoGetIntentServicesForExtensionFilter(scoped_ptr<IntentsQuery> query,
+ const std::string& extension_id);
+
// Map for all in-flight web data requests/intent queries.
QueryMap queries_;