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

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: Rename ActivityLog::IsLoggingEnabled 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..90aa39257675825ba2f014bbfd6a7cb7a8d71162 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.
@@ -121,4 +120,3 @@ void ActivityDatabase::KillDatabase() {
}
} // namespace extensions
-
« no previous file with comments | « chrome/browser/extensions/activity_database.h ('k') | chrome/browser/extensions/activity_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698