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

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

Issue 7601013: Web Intents: Hook up the register intent InfoBar with the WebIntentsRegistry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing files. Created 9 years, 4 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_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);

Powered by Google App Engine
This is Rietveld 408576698