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

Issue 2273633004: Add Cookie.CookieLineCookieValueValidity histogram (Closed)

Created:
4 years, 4 months ago by Adam Rice
Modified:
4 years, 3 months ago
Reviewers:
Ilya Sherman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Cookie.CookieLineCookieValueValidity histogram net::ParsedCookie::SetValue() applies a strict check to the passed-in value, but ParsedCookie::ParseTokenValuePairs() applies a weaker check. It would nice if this was consistent. Add a histogram to determine the degree of compatibility problems with making it consistent. BUG=638117 Committed: https://crrev.com/b08ddda70e3f9c261d1fb87a2e63fbc14f9b8775 Cr-Commit-Position: refs/heads/master@{#414690}

Patch Set 1 #

Total comments: 2

Patch Set 2 : histogram.h -> histogram_macros.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M net/cookies/parsed_cookie.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
Adam Rice
4 years, 4 months ago (2016-08-24 09:25:53 UTC) #7
mmenke
LGTM. Think that comparing with what other browsers do may be a better idea here ...
4 years, 4 months ago (2016-08-24 11:01:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273633004/1
4 years, 4 months ago (2016-08-25 06:58:01 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/245825)
4 years, 4 months ago (2016-08-25 07:05:58 UTC) #12
Adam Rice
+asvitkine for histograms.xml
4 years, 4 months ago (2016-08-25 07:24:21 UTC) #14
Ilya Sherman
metrics lgtm https://codereview.chromium.org/2273633004/diff/1/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/2273633004/diff/1/net/cookies/parsed_cookie.cc#newcode48 net/cookies/parsed_cookie.cc:48: #include "base/metrics/histogram.h" nit: histogram_macros
4 years, 3 months ago (2016-08-25 20:04:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273633004/20001
4 years, 3 months ago (2016-08-26 01:35:12 UTC) #18
Adam Rice
https://codereview.chromium.org/2273633004/diff/1/net/cookies/parsed_cookie.cc File net/cookies/parsed_cookie.cc (right): https://codereview.chromium.org/2273633004/diff/1/net/cookies/parsed_cookie.cc#newcode48 net/cookies/parsed_cookie.cc:48: #include "base/metrics/histogram.h" On 2016/08/25 20:04:49, Ilya Sherman wrote: > ...
4 years, 3 months ago (2016-08-26 01:36:30 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/269311)
4 years, 3 months ago (2016-08-26 03:38:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2273633004/20001
4 years, 3 months ago (2016-08-26 11:17:09 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-08-26 12:27:53 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 12:30:06 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b08ddda70e3f9c261d1fb87a2e63fbc14f9b8775
Cr-Commit-Position: refs/heads/master@{#414690}

Powered by Google App Engine
This is Rietveld 408576698