Index: chrome/browser/intents/web_intents_registry.h |
diff --git a/chrome/browser/intents/web_intents_registry.h b/chrome/browser/intents/web_intents_registry.h |
index 473175adc8caee0b1cfd675f5b1d773f18be466c..dbb2e082b3ef697c2de3cba2e66c799821e83df7 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_; |