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

Issue 15897003: Added UMA measurement for how often we see control characters during cookie parsing. (Closed)

Created:
7 years, 7 months ago by jww
Modified:
7 years, 6 months ago
CC:
chromium-reviews, erikwright (departed), cbentzel+watch_chromium.org, jschuh
Visibility:
Public.

Description

Added UMA measurement for how often we see control characters during cookie parsing. BUG=238041 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202721

Patch Set 1 #

Patch Set 2 : Fixed missing brackets that were causing unit test failure. #

Total comments: 15

Patch Set 3 : Erik changes as well as additional measurement of invalid tokens during cookie line parsing. #

Total comments: 2

Patch Set 4 : Added comment to file explaining UMA collection and fixed erikwright nit. #

Total comments: 2

Patch Set 5 : Added TODO to comment regarding UMA stats collection #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -3 lines) Patch
M net/cookies/parsed_cookie.cc View 1 2 3 4 6 chunks +36 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jww
After talking with palmer@ and jschuh@, we converged on this patchset as the UMA for ...
7 years, 7 months ago (2013-05-24 00:26:28 UTC) #1
erikwright (departed)
What's the motivation for measuring the manual name/value/attribute changes that are already being rejected? https://codereview.chromium.org/15897003/diff/5001/net/cookies/parsed_cookie.cc ...
7 years, 7 months ago (2013-05-24 14:15:56 UTC) #2
palmer
https://codereview.chromium.org/15897003/diff/5001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/15897003/diff/5001/net/cookies/parsed_cookie.cc#newcode397 net/cookies/parsed_cookie.cc:397: parsed_invalid_control_char_ = true; > I suggest converting this to ...
7 years, 7 months ago (2013-05-24 17:38:43 UTC) #3
jww
The overall motivation about measuring the already rejected cookies is to understand if we're seeing ...
7 years, 7 months ago (2013-05-24 17:56:33 UTC) #4
erikwright (departed)
Please add a file-level comment with a link to the bug # that explains why ...
7 years, 7 months ago (2013-05-27 19:19:40 UTC) #5
jww
On 2013/05/27 19:19:40, erikwright wrote: > Please add a file-level comment with a link to ...
7 years, 6 months ago (2013-05-28 17:12:56 UTC) #6
jww
https://codereview.chromium.org/15897003/diff/14001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/15897003/diff/14001/net/cookies/parsed_cookie.cc#newcode414 net/cookies/parsed_cookie.cc:414: parsed_invalid_control_char); On 2013/05/27 19:19:41, erikwright wrote: > indentation (align ...
7 years, 6 months ago (2013-05-28 17:14:04 UTC) #7
erikwright (departed)
LGTM. Good luck! https://codereview.chromium.org/15897003/diff/21001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/15897003/diff/21001/net/cookies/parsed_cookie.cc#newcode51 net/cookies/parsed_cookie.cc:51: // We are collecting several UMA ...
7 years, 6 months ago (2013-05-28 19:59:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/15897003/21001
7 years, 6 months ago (2013-05-28 20:41:58 UTC) #9
jww
https://codereview.chromium.org/15897003/diff/21001/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/15897003/diff/21001/net/cookies/parsed_cookie.cc#newcode51 net/cookies/parsed_cookie.cc:51: // We are collecting several UMA statistics in this ...
7 years, 6 months ago (2013-05-28 20:45:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/15897003/26001
7 years, 6 months ago (2013-05-28 20:46:02 UTC) #11
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 00:47:34 UTC) #12
Message was sent while issue was closed.
Change committed as 202721

Powered by Google App Engine
This is Rietveld 408576698