Chromium Code Reviews| 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..c4cc42f62d51e4ac68898384e40fcea1a536e85a 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 GetIntentServicesForExtensionFilter(const string16& action, |
| + const string16& mimetype, |
| + const std::string& extension_id, |
|
groby-ooo-7-16
2012/03/15 23:39:25
Please simply point to a canonical location for mi
binji
2012/03/16 22:17:21
Done.
|
| + 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|. |
|
groby-ooo-7-16
2012/03/15 23:39:25
Function names are not in ||
binji
2012/03/16 22:17:21
Done.
|
| + void DoGetIntentServicesForExtensionFilter(scoped_ptr<IntentsQuery> query, |
| + const std::string& extension_id); |
| + |
| // Map for all in-flight web data requests/intent queries. |
| QueryMap queries_; |