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

Unified Diff: chrome/browser/webdata/web_data_service.cc

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: Test fix. 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_data_service.cc
diff --git a/chrome/browser/webdata/web_data_service.cc b/chrome/browser/webdata/web_data_service.cc
index bc943e01c7c1d03cae8d2c331bfc1973928dcdc1..80d75f1d9b3d405cb45116c139469d2f13ce987a 100644
--- a/chrome/browser/webdata/web_data_service.cc
+++ b/chrome/browser/webdata/web_data_service.cc
@@ -833,9 +833,7 @@ void WebDataService::RemoveWebIntentImpl(
InitializeDatabaseIfNecessary();
if (db_ && !request->IsCancelled()) {
const WebIntentData& intent = request->arg();
- db_->GetWebIntentsTable()->RemoveWebIntent(intent.action,
- intent.type,
- intent.service_url);
+ db_->GetWebIntentsTable()->RemoveWebIntent(intent);
ScheduleCommit();
}
request->RequestComplete();
@@ -845,9 +843,7 @@ void WebDataService::AddWebIntentImpl(GenericRequest<WebIntentData>* request) {
InitializeDatabaseIfNecessary();
if (db_ && !request->IsCancelled()) {
const WebIntentData& intent = request->arg();
- db_->GetWebIntentsTable()->SetWebIntent(intent.action,
- intent.type,
- intent.service_url);
+ db_->GetWebIntentsTable()->SetWebIntent(intent);
ScheduleCommit();
}
request->RequestComplete();

Powered by Google App Engine
This is Rietveld 408576698