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

Unified Diff: chrome/browser/extensions/activity_database.cc

Issue 11946028: Record event activity to the extension activity log. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update database schema if needed Created 7 years, 11 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/extensions/activity_database.cc
diff --git a/chrome/browser/extensions/activity_database.cc b/chrome/browser/extensions/activity_database.cc
index 6dec314affd2c1a466aed595d45ba4cf379d59d5..0d3b22c1b2c6f9a8e82572aab5509be22a81c87a 100644
--- a/chrome/browser/extensions/activity_database.cc
+++ b/chrome/browser/extensions/activity_database.cc
@@ -56,8 +56,7 @@ void ActivityDatabase::Init(const FilePath& db_name) {
return LogInitFailure();
// Create the APIAction database.
- if (InitializeTable(APIAction::kTableName, APIAction::kTableStructure)
- != sql::INIT_OK)
+ if (!APIAction::InitializeTable(&db_))
return LogInitFailure();
// Create the BlockedAction database.

Powered by Google App Engine
This is Rietveld 408576698