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

Issue 12316124: Add UMA statistics for tracking session storage database opening failures. (Closed)

Created:
7 years, 10 months ago by marja
Modified:
7 years, 9 months ago
Reviewers:
michaeln
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Add UMA statistics for tracking session storage database opening failures. R=michaeln BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184925

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : code review (michaeln) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -0 lines) Patch
M webkit/dom_storage/session_storage_database.cc View 1 2 3 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
marja
ptal (Background: e-mail discussion 2 weeks or so ago; we don't have statistics about how ...
7 years, 10 months ago (2013-02-26 15:37:30 UTC) #1
michaeln
lgtm with one nit https://codereview.chromium.org/12316124/diff/2001/webkit/dom_storage/session_storage_database.cc File webkit/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/12316124/diff/2001/webkit/dom_storage/session_storage_database.cc#newcode21 webkit/dom_storage/session_storage_database.cc:21: Can you define a constant ...
7 years, 10 months ago (2013-02-27 00:31:57 UTC) #2
marja
Thanks for review! https://codereview.chromium.org/12316124/diff/2001/webkit/dom_storage/session_storage_database.cc File webkit/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/12316124/diff/2001/webkit/dom_storage/session_storage_database.cc#newcode21 webkit/dom_storage/session_storage_database.cc:21: On 2013/02/27 00:31:57, michaeln wrote: > ...
7 years, 9 months ago (2013-02-27 08:48:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/12316124/6001
7 years, 9 months ago (2013-02-27 08:48:45 UTC) #4
commit-bot: I haz the power
Change committed as 184925
7 years, 9 months ago (2013-02-27 10:49:56 UTC) #5
michaeln
7 years, 9 months ago (2013-02-27 20:31:48 UTC) #6
Message was sent while issue was closed.
https://chromiumcodereview.appspot.com/12316124/diff/2001/webkit/dom_storage/...
File webkit/dom_storage/session_storage_database.cc (right):

https://chromiumcodereview.appspot.com/12316124/diff/2001/webkit/dom_storage/...
webkit/dom_storage/session_storage_database.cc:21: 
I would expect compilers to optimize the multiple uses into one byte sequence in
the binary but its a leap of faith. Elsewhere we do like this...
const char kHttpScheme[] = "http";

> On 2013/02/27 00:31:57, michaeln wrote:
> > Can you define a constant for histogram name value here too.
> 
> Done. I just #define'd it, because we cannot have a std::string here, that
would
> create a non-trivial static initializer afaics... const char* would work, but
it
> seems to be discouraged. Let me know if you'd like something else than a
> #define.

Powered by Google App Engine
This is Rietveld 408576698