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..4bd8f3c437ab7f0b83aeed7b0ec7a8c8a09c44fb 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|. |
+ // Retrieve all services from WebIntents table that match |action|. |
James Hawkins
2011/10/26 23:50:06
s/Retrieve/Retrieves/ here and elsewhere.
Greg Billock
2011/10/29 00:03:19
Done.
|
bool GetWebIntents(const string16& action, |
std::vector<WebIntentServiceData>* intents); |
- // Retrieve all intents from WebIntents table. |
+ // Retrieve all services from WebIntents table that match |service_url|. |
+ bool GetWebIntentsForURL(const string16& service_url, |
+ std::vector<WebIntentServiceData>* intents); |
+ |
+ // Retrieve 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: |