| 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 5ebf1519204317d137e6483715cd981fe4131b57..7142fb9d02ea742c0bd7c40eceb1dc9cad4b57b2 100644
|
| --- a/chrome/browser/webdata/web_intents_table.h
|
| +++ b/chrome/browser/webdata/web_intents_table.h
|
| @@ -15,6 +15,11 @@
|
|
|
| class GURL;
|
|
|
| +namespace sql {
|
| +class Connection;
|
| +class MetaTable;
|
| +}
|
| +
|
| // This class manages the WebIntents table within the SQLite database passed
|
| // to the constructor. It expects the following schema:
|
| //
|
| @@ -35,18 +40,14 @@ class WebIntentsTable : public WebDatabaseTable {
|
|
|
| // Adds a web intent to the WebIntents table. If intent already exists,
|
| // replaces it.
|
| - bool SetWebIntent(const string16& action,
|
| - const string16& type,
|
| - const GURL& service_url);
|
| + bool SetWebIntent(const WebIntentData& intent);
|
|
|
| // Retrieve all intents from WebIntents table that match |action|.
|
| bool GetWebIntents(const string16& action,
|
| std::vector<WebIntentData>* intents);
|
|
|
| // Removes intent from WebIntents table - must match all parameters exactly.
|
| - bool RemoveWebIntent(const string16& action,
|
| - const string16& type,
|
| - const GURL& service_url);
|
| + bool RemoveWebIntent(const WebIntentData& intent);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(WebIntentsTable);
|
|
|