Index: chrome/browser/webdata/web_intents_table.h |
diff --git a/chrome/browser/webdata/web_intents_table.h b/chrome/browser/webdata/web_intents_table.h |
index a54293090b6178ee6b85739a36ee6210c303dae8..f9402f32ebacb686f69712b221b51512701be327 100644 |
--- a/chrome/browser/webdata/web_intents_table.h |
+++ b/chrome/browser/webdata/web_intents_table.h |
@@ -38,18 +38,22 @@ class WebIntentsTable : public WebDatabaseTable { |
virtual bool Init(); |
virtual bool IsSyncable(); |
- // Adds a web intent to the WebIntents table. If intent already exists, |
- // replaces it. |
+ // Adds a web intent service to the WebIntents table. If service |
+ // already exists, replaces it. |
bool SetWebIntent(const WebIntentServiceData& intent); |
- // Retrieve all intents from WebIntents table that match |action|. |
+ // Retrieves all services from WebIntents table that match |action|. |
bool GetWebIntents(const string16& action, |
std::vector<WebIntentServiceData>* intents); |
- // Retrieve all intents from WebIntents table. |
+ // Retrieves all services from WebIntents table that match |service_url|. |
+ bool GetWebIntentsForURL(const string16& service_url, |
+ std::vector<WebIntentServiceData>* intents); |
+ |
+ // Retrieves all services from WebIntents table. |
bool GetAllWebIntents(std::vector<WebIntentServiceData>* intents); |
- // Removes intent from WebIntents table - must match all parameters exactly. |
+ // Removes service from WebIntents table - must match all parameters exactly. |
bool RemoveWebIntent(const WebIntentServiceData& intent); |
private: |