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

Issue 2396493002: Improve the TestNavigationManager (Closed)

Created:
4 years, 2 months ago by clamy
Modified:
4 years, 2 months ago
Reviewers:
nasko, Charlie Harrison
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve the TestNavigationManager This CL refactors the TestNavigationManager to make it easier to understand following the introduction of a new state in https://codereview.chromium.org/2383773002/. BUG=651503 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/19f0d4912d3e7518def06bf5579a70029506fb18 Cr-Commit-Position: refs/heads/master@{#425062}

Patch Set 1 #

Patch Set 2 : Improve the TestNavigationManager #

Total comments: 2

Patch Set 3 : Addressed Nasko's nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -114 lines) Patch
M chrome/browser/page_load_metrics/page_load_metrics_browsertest.cc View 1 2 7 chunks +7 lines, -7 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl_browsertest.cc View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/browser_test_utils.h View 1 2 3 chunks +21 lines, -10 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 2 chunks +58 lines, -81 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
clamy
@nasko: PTAL. This is a followup on the CrossSiteResourceHandler merge, to improve the test code.
4 years, 2 months ago (2016-10-12 12:27:09 UTC) #11
nasko
Thanks for simplifying this! LGTM with a nit. https://codereview.chromium.org/2396493002/diff/20001/content/public/test/browser_test_utils.h File content/public/test/browser_test_utils.h (right): https://codereview.chromium.org/2396493002/diff/20001/content/public/test/browser_test_utils.h#newcode615 content/public/test/browser_test_utils.h:615: WARN_UNUSED_RESULT ...
4 years, 2 months ago (2016-10-12 23:53:59 UTC) #12
clamy
Thanks! @csharrison: PTAL at the changes in chrome/browser/page_load_metrics/. https://codereview.chromium.org/2396493002/diff/20001/content/public/test/browser_test_utils.h File content/public/test/browser_test_utils.h (right): https://codereview.chromium.org/2396493002/diff/20001/content/public/test/browser_test_utils.h#newcode615 content/public/test/browser_test_utils.h:615: WARN_UNUSED_RESULT ...
4 years, 2 months ago (2016-10-13 15:51:55 UTC) #16
Charlie Harrison
LGTM!!
4 years, 2 months ago (2016-10-13 15:56:04 UTC) #19
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/2396493002/40001
4 years, 2 months ago (2016-10-13 16:47:43 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-13 16:53:54 UTC) #26
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 16:57:39 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/19f0d4912d3e7518def06bf5579a70029506fb18
Cr-Commit-Position: refs/heads/master@{#425062}

Powered by Google App Engine
This is Rietveld 408576698