Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1718)

Unified Diff: chrome/browser/intents/web_intents_registry.h

Issue 9595031: [Web Intents] Inline installation of extensions in web intents picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « no previous file | chrome/browser/intents/web_intents_registry.cc » ('j') | chrome/browser/intents/web_intents_registry.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698