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

Issue 270101: Move the sqlite error handler to a single location... (Closed)

Created:
11 years, 2 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, darin (slow to review), ben+cc_chromium.org
Visibility:
Public.

Description

Move the sqlite error handler to a single location - Eliminate code duplication - Cover other 3 databases - Still doing the same as before, sending UMA histograms BUG=11908 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29073

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -44 lines) Patch
M chrome/browser/diagnostics/sqlite_diagnostics.h View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/diagnostics/sqlite_diagnostics.cc View 1 1 chunk +66 lines, -0 lines 1 comment Download
M chrome/browser/history/history_database.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/history/text_database.cc View 1 3 chunks +2 lines, -22 lines 0 comments Download
M chrome/browser/history/thumbnail_database.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/net/sqlite_persistent_cookie_store.cc View 3 chunks +2 lines, -22 lines 0 comments Download
M chrome/browser/webdata/web_database.cc View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
cpu_(ooo_6.6-7.5)
11 years, 2 months ago (2009-10-14 23:33:25 UTC) #1
huanr
LGTM
11 years, 2 months ago (2009-10-15 00:08:52 UTC) #2
jar (doing other things)
11 years, 2 months ago (2009-10-15 06:44:28 UTC) #3
The suggestion below may be more applicable to the newer names, given that you
already had some of these histogram names in use.

http://codereview.chromium.org/270101/diff/4001/5001
File chrome/browser/diagnostics/sqlite_diagnostics.cc (right):

http://codereview.chromium.org/270101/diff/4001/5001#newcode19
Line 19: "Sqlite.Web.Error"
Not a big deal... but... Given these will be sorted with other Sqlite.*
histograms, you might prefer to get them bunched together by naming them:
Sqlite.Error.Cookie
Sqlite.Error.History
etc.

Powered by Google App Engine
This is Rietveld 408576698