| 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..fd916aa068052574c36e71e040c5ff5a9da32131 100644
|
| --- a/chrome/browser/webdata/web_intents_table.h
|
| +++ b/chrome/browser/webdata/web_intents_table.h
|
| @@ -38,18 +38,24 @@ 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|.
|
| bool GetWebIntents(const string16& action,
|
| std::vector<WebIntentServiceData>* intents);
|
|
|
| - // Retrieve all intents from WebIntents table.
|
| + // Retrieve all services from WebIntents table that match |action| and
|
| + // |service_url|.
|
| + bool GetWebIntentsForURL(const string16& action,
|
| + 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:
|
|
|