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

Issue 11111021: Remove ref counting on sql::ErrorDelegate (Closed)

Created:
8 years, 2 months ago by pkotwicz
Modified:
8 years, 2 months ago
CC:
chromium-reviews, michaeln, cbentzel+watch_chromium.org, erikwright (departed), wtc, darin-cc_chromium.org, rkn
Visibility:
Public.

Description

Remove ref counting on sql::ErrorDelegate BUG=151841 Test=None R=shess TBR=jamesr,erikwright Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162443

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : Changes as requested #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -113 lines) Patch
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 1 2 5 chunks +10 lines, -22 lines 0 comments Download
M sql/connection.h View 1 2 3 4 5 chunks +6 lines, -9 lines 0 comments Download
M sql/connection.cc View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download
M sql/diagnostic_error_delegate.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M sql/sqlite_features_unittest.cc View 1 2 3 4 5 6 1 chunk +25 lines, -27 lines 0 comments Download
M sql/statement_unittest.cc View 1 2 3 4 5 6 2 chunks +33 lines, -28 lines 0 comments Download
M webkit/appcache/appcache_database_unittest.cc View 9 chunks +11 lines, -15 lines 0 comments Download
M webkit/database/databases_table_unittest.cc View 2 chunks +6 lines, -4 lines 0 comments Download
M webkit/database/quota_table_unittest.cc View 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
pkotwicz
Scott and Erik, can you please take a look
8 years, 2 months ago (2012-10-12 17:57:30 UTC) #1
Scott Hess - ex-Googler
http://codereview.chromium.org/11111021/diff/3001/sql/sqlite_features_unittest.cc File sql/sqlite_features_unittest.cc (right): http://codereview.chromium.org/11111021/diff/3001/sql/sqlite_features_unittest.cc#newcode51 sql/sqlite_features_unittest.cc:51: SQLiteFeaturesTest() : error_handler_(new StatementErrorHandler) {} I'm nervous about this, ...
8 years, 2 months ago (2012-10-12 20:04:51 UTC) #2
Scott Hess - ex-Googler
One question I have is whether this will be failsafe in the case that anyone ...
8 years, 2 months ago (2012-10-12 20:04:59 UTC) #3
pkotwicz
Changes as requested
8 years, 2 months ago (2012-10-12 22:24:57 UTC) #4
pkotwicz
I do not think it is possible to share a single handler between multiple connection ...
8 years, 2 months ago (2012-10-12 22:26:30 UTC) #5
pkotwicz
Ping!
8 years, 2 months ago (2012-10-16 21:04:17 UTC) #6
Scott Hess - ex-Googler
lgtm, with noted changes. https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc File sql/statement_unittest.cc (right): https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc#newcode58 sql/statement_unittest.cc:58: int sqlite_error() const { return ...
8 years, 2 months ago (2012-10-16 22:32:25 UTC) #7
pkotwicz
https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc File sql/statement_unittest.cc (right): https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc#newcode125 sql/statement_unittest.cc:125: ResetError(); This is actually still necessary for EXPECT_EQ(SQLITE_OK, error_) ...
8 years, 2 months ago (2012-10-17 13:39:04 UTC) #8
pkotwicz
If we want to get rid of ResetError() in statement_unittest, I will fix this in ...
8 years, 2 months ago (2012-10-17 13:52:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11111021/21001
8 years, 2 months ago (2012-10-17 13:52:40 UTC) #10
commit-bot: I haz the power
Presubmit check for 11111021-21001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-17 13:52:46 UTC) #11
Scott Hess - ex-Googler
https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc File sql/statement_unittest.cc (right): https://codereview.chromium.org/11111021/diff/11003/sql/statement_unittest.cc#newcode125 sql/statement_unittest.cc:125: ResetError(); On 2012/10/17 13:39:04, pkotwicz wrote: > This is ...
8 years, 2 months ago (2012-10-17 14:53:49 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/11111021/21001
8 years, 2 months ago (2012-10-17 15:41:52 UTC) #13
commit-bot: I haz the power
8 years, 2 months ago (2012-10-17 17:41:21 UTC) #14
Change committed as 162443

Powered by Google App Engine
This is Rietveld 408576698