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..3efa026cf112852ca638756af2f9de8911690673 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| can contain wildcards, i.e. "image/*" or "*". |
+ // |consumer| must not be NULL. |
+ QueryID GetIntentServicesWithExtensionId(const string16& action, |
James Hawkins
2012/03/15 01:05:20
I'd do s/WithExtensionId/ForExtensionFilter/.
binji
2012/03/15 17:53:14
Done.
|
+ 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); |
+ // Performs the work of |GetIntentServicesWithExtensionId|. |
James Hawkins
2012/03/15 01:05:20
I'd do s/Performs the work/Implementation/.
binji
2012/03/15 17:53:14
Done.
|
+ void DoGetIntentServicesWithExtensionId(IntentsQuery* query, |
+ const std::string& extension_id); |
+ |
// Map for all in-flight web data requests/intent queries. |
QueryMap queries_; |