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

Issue 636673002: Remove navigation from TestRenderViewHost (Closed)

Created:
6 years, 2 months ago by ncarter (slow)
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, Michael van Ouwerkerk, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove all navigation methods from TestRenderViewHost, RenderViewHostTester. Use the versions on TestRenderFrameHost instead. BUG=304341 TEST=unit_tests, content_unittests TBR=phajdan.jr@chromium.org, mvanouwerkerk@chromium.org Committed: https://crrev.com/31074213945662069d35fe9b9c3744d0c7ec9c01 Cr-Commit-Position: refs/heads/master@{#298983}

Patch Set 1 #

Patch Set 2 : Fixes from self-review #

Total comments: 8

Patch Set 3 : Rip out seven more methods from TestRVH #

Patch Set 4 : Add active_rfh checks #

Patch Set 5 : Add a TODO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -223 lines) Patch
M chrome/browser/geolocation/geolocation_permission_context_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/translate/translate_manager_render_view_host_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/test/base/browser_with_test_window_test.cc View 3 chunks +12 lines, -16 lines 0 comments Download
M chrome/test/base/chrome_render_view_host_test_harness.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/base/chrome_render_view_host_test_harness.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 7 chunks +8 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 3 chunks +7 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M content/public/test/test_renderer_host.h View 5 chunks +18 lines, -21 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 3 chunks +12 lines, -13 lines 0 comments Download
M content/test/test_render_frame_host.h View 1 3 chunks +3 lines, -9 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 chunks +0 lines, -53 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 chunks +1 line, -76 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
ncarter (slow)
Charlie: Please review
6 years, 2 months ago (2014-10-07 01:14:00 UTC) #2
ncarter (slow)
creis: ping
6 years, 2 months ago (2014-10-08 17:13:56 UTC) #3
Charlie Reis
Sorry for the delay. So glad to see these going away from TRVH! A few ...
6 years, 2 months ago (2014-10-08 17:41:55 UTC) #4
ncarter (slow)
PTAL https://codereview.chromium.org/636673002/diff/20001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc File chrome/browser/safe_browsing/client_side_detection_host_unittest.cc (right): https://codereview.chromium.org/636673002/diff/20001/chrome/browser/safe_browsing/client_side_detection_host_unittest.cc#newcode989 chrome/browser/safe_browsing/client_side_detection_host_unittest.cc:989: RenderFrameHostTester::For(web_contents()->GetMainFrame())-> On 2014/10/08 17:41:55, Charlie Reis wrote: > ...
6 years, 2 months ago (2014-10-08 22:39:28 UTC) #5
Charlie Reis
Great. LGTM!
6 years, 2 months ago (2014-10-08 23:45:02 UTC) #6
ncarter (slow)
noelutz@google.com: Please review changes in chrome/browser/safe_browsing/client_side_detection_host_unittest.cc droger@chromium.org: Please review changes in chrome/browser/translate/translate_manager_render_view_host_unittest.cc timvolodine@chromium.org: Please review ...
6 years, 2 months ago (2014-10-09 17:37:11 UTC) #10
droger
Translate Lgtm
6 years, 2 months ago (2014-10-09 17:42:23 UTC) #11
noé
lgtm
6 years, 2 months ago (2014-10-09 20:20:57 UTC) #13
ncarter (slow)
mattm@chromium.org: Please review changes in chrome/browser/safe_browsing/client_side_detection_host_unittest.cc
6 years, 2 months ago (2014-10-09 20:26:19 UTC) #16
ncarter (slow)
-mattm, nevermind -- I have noe's lgtm, was confused.
6 years, 2 months ago (2014-10-09 20:28:14 UTC) #18
ncarter (slow)
mvanouwerkerk@chromium.org: Please review changes in chrome/browser/geolocation/geolocation_permission_context_unittest.cc
6 years, 2 months ago (2014-10-09 20:29:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/636673002/60001
6 years, 2 months ago (2014-10-09 21:20:07 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 2 months ago (2014-10-09 21:36:13 UTC) #23
commit-bot: I haz the power
6 years, 2 months ago (2014-10-09 21:36:49 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/31074213945662069d35fe9b9c3744d0c7ec9c01
Cr-Commit-Position: refs/heads/master@{#298983}

Powered by Google App Engine
This is Rietveld 408576698