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

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

Issue 9799001: [Web Intents] Inline installation of extensions in web intents picker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: i'm dumb 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
« no previous file with comments | « no previous file | chrome/browser/intents/web_intents_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/intents/web_intents_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698