| Index: chrome/browser/webdata/web_intents_table.cc
|
| diff --git a/chrome/browser/webdata/web_intents_table.cc b/chrome/browser/webdata/web_intents_table.cc
|
| index 03060ed0ffc94635b691a041e012ace1635b071a..137904e2ce2d92222a01a40d2b02d257de6e1fb2 100644
|
| --- a/chrome/browser/webdata/web_intents_table.cc
|
| +++ b/chrome/browser/webdata/web_intents_table.cc
|
| @@ -48,7 +48,7 @@ bool WebIntentsTable::GetWebIntents(const string16& action,
|
| std::vector<WebIntentData>* intents) {
|
| DCHECK(intents);
|
| sql::Statement s(db_->GetUniqueStatement(
|
| - "SELECT service_url, action, type FROM web_intents "
|
| + "SELECT service_url, action, type, title FROM web_intents "
|
| "WHERE action=?"));
|
| if (!s) {
|
| NOTREACHED() << "Statement prepare failed";
|
| @@ -63,6 +63,7 @@ bool WebIntentsTable::GetWebIntents(const string16& action,
|
|
|
| intent.action = s.ColumnString16(1);
|
| intent.type = s.ColumnString16(2);
|
| + intent.title = s.ColumnString16(3);
|
|
|
| intents->push_back(intent);
|
| }
|
| @@ -72,7 +73,7 @@ bool WebIntentsTable::GetWebIntents(const string16& action,
|
| bool WebIntentsTable::GetAllWebIntents(std::vector<WebIntentData>* intents) {
|
| DCHECK(intents);
|
| sql::Statement s(db_->GetUniqueStatement(
|
| - "SELECT service_url, action, type FROM web_intents"));
|
| + "SELECT service_url, action, type, title FROM web_intents"));
|
| if (!s) {
|
| NOTREACHED() << "Statement prepare failed";
|
| return false;
|
| @@ -85,6 +86,7 @@ bool WebIntentsTable::GetAllWebIntents(std::vector<WebIntentData>* intents) {
|
|
|
| intent.action = s.ColumnString16(1);
|
| intent.type = s.ColumnString16(2);
|
| + intent.title = s.ColumnString16(3);
|
|
|
| intents->push_back(intent);
|
| }
|
| @@ -124,4 +126,3 @@ bool WebIntentsTable::RemoveWebIntent(const WebIntentData& intent) {
|
| s.BindString16(2, intent.type);
|
| return s.Run();
|
| }
|
| -
|
|
|