Index: trunk/src/chrome/browser/extensions/activity_log/dom_actions.cc |
=================================================================== |
--- trunk/src/chrome/browser/extensions/activity_log/dom_actions.cc (revision 205306) |
+++ trunk/src/chrome/browser/extensions/activity_log/dom_actions.cc (working copy) |
@@ -106,7 +106,7 @@ |
return initialized; |
} |
-bool DOMAction::Record(sql::Connection* db) { |
+void DOMAction::Record(sql::Connection* db) { |
std::string sql_str = "INSERT INTO " + std::string(kTableName) + |
" (extension_id, time, url_action_type, url, url_title, api_call, args," |
" extra) VALUES (?,?,?,?,?,?,?,?)"; |
@@ -120,12 +120,8 @@ |
statement.BindString(5, api_call_); |
statement.BindString(6, args_); |
statement.BindString(7, extra_); |
- if (!statement.Run()) { |
+ if (!statement.Run()) |
LOG(ERROR) << "Activity log database I/O failed: " << sql_str; |
- statement.Clear(); |
- return false; |
- } |
- return true; |
} |
std::string DOMAction::PrintForDebug() { |