Index: trunk/src/chrome/browser/extensions/activity_log/api_actions.cc |
=================================================================== |
--- trunk/src/chrome/browser/extensions/activity_log/api_actions.cc (revision 205306) |
+++ trunk/src/chrome/browser/extensions/activity_log/api_actions.cc (working copy) |
@@ -186,7 +186,7 @@ |
arraysize(kTableContentFields)); |
} |
-bool APIAction::Record(sql::Connection* db) { |
+void APIAction::Record(sql::Connection* db) { |
std::string sql_str = "INSERT INTO " + std::string(kTableName) |
+ " (extension_id, time, api_type, api_call, args, extra) VALUES" |
" (?,?,?,?,?,?)"; |
@@ -198,12 +198,8 @@ |
statement.BindString(3, APINameMap::GetInstance()->ApiToShortname(api_call_)); |
statement.BindString(4, args_); |
statement.BindString(5, extra_); |
- if (!statement.Run()) { |
+ if (!statement.Run()) |
LOG(ERROR) << "Activity log database I/O failed: " << sql_str; |
- statement.Clear(); |
- return false; |
- } |
- return true; |
} |
// static |