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

Issue 1367343002: Add browser test for WebUI URL logging (Closed)

Created:
5 years, 2 months ago by Dan Beam
Modified:
5 years, 2 months ago
CC:
chromium-reviews, Ilya Sherman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add browser test for WebUI URL logging R=creis@chromium.org BUG=535059, 385352 Committed: https://crrev.com/03d3d97dcb17d50824e5b1df7b25554dc3c0d903 Cr-Commit-Position: refs/heads/master@{#351191}

Patch Set 1 : safer? #

Total comments: 2

Patch Set 2 : history instead #

Patch Set 3 : histogram_tester #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -1 line) Patch
M chrome/browser/ui/webui/log_web_ui_url.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/log_web_ui_url.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/ui/webui/log_web_ui_url_browsertest.cc View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 chunks +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 12 (5 generated)
Dan Beam
https://codereview.chromium.org/1367343002/diff/40001/chrome/browser/ui/webui/log_web_ui_url.cc File chrome/browser/ui/webui/log_web_ui_url.cc (right): https://codereview.chromium.org/1367343002/diff/40001/chrome/browser/ui/webui/log_web_ui_url.cc#newcode24 chrome/browser/ui/webui/log_web_ui_url.cc:24: static WebUIUrlHash* g_hash = nullptr; if you have any ...
5 years, 2 months ago (2015-09-26 23:02:14 UTC) #3
Charlie Reis
I think you can test the UMA values directly using HistogramTester, without needing to mock ...
5 years, 2 months ago (2015-09-28 20:39:05 UTC) #6
Dan Beam
On 2015/09/28 20:39:05, Charlie Reis wrote: > I think you can test the UMA values ...
5 years, 2 months ago (2015-09-28 21:33:13 UTC) #7
Charlie Reis
Nice. LGTM.
5 years, 2 months ago (2015-09-28 21:58:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1367343002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1367343002/90001
5 years, 2 months ago (2015-09-28 22:44:01 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:90001)
5 years, 2 months ago (2015-09-28 22:51:25 UTC) #11
commit-bot: I haz the power
5 years, 2 months ago (2015-09-28 22:52:35 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/03d3d97dcb17d50824e5b1df7b25554dc3c0d903
Cr-Commit-Position: refs/heads/master@{#351191}

Powered by Google App Engine
This is Rietveld 408576698