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

Unified Diff: chrome/browser/webdata/web_data_service.h

Issue 8144013: Add a check to the registry before the intent infobar is shown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 9 years, 2 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/webdata/web_data_service.h
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h
index b5faa9e9a642c80c41404b13408d645ea9a964a0..e7615ec5ea5a103d3703480e19d038498b07a9bd 100644
--- a/chrome/browser/webdata/web_data_service.h
+++ b/chrome/browser/webdata/web_data_service.h
@@ -368,6 +368,12 @@ class WebDataService
Handle GetWebIntents(const string16& action,
WebDataServiceConsumer* consumer);
+ // Get all web intent providers registered for the specified |action|
+ // and using the specified |service_url|.
+ Handle GetWebIntentsForURL(const string16& action,
+ const string16& service_url,
+ WebDataServiceConsumer* consumer);
+
// Get all web intent providers registered. |consumer| must not be NULL.
Handle GetAllWebIntents(WebDataServiceConsumer* consumer);
@@ -601,6 +607,7 @@ class WebDataService
void AddWebIntentImpl(GenericRequest<WebIntentServiceData>* request);
void RemoveWebIntentImpl(GenericRequest<WebIntentServiceData>* request);
void GetWebIntentsImpl(GenericRequest<string16>* request);
+ void GetWebIntentsForURLImpl(GenericRequest2<string16, string16>* request);
void GetAllWebIntentsImpl(GenericRequest<std::string>* request);
//////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698