diff options
author | fdegans <fdegans@chromium.org> | 2015-03-19 05:52:22 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-19 12:52:59 +0000 |
commit | 6ce28f57d686337e99099a7a97354f45d22ca2f6 (patch) | |
tree | b55f7d3dc90dd3cd25c4de1181e714b4a6de37f1 /content/browser/frame_host/navigation_controller_impl_browsertest.cc | |
parent | b0a90f4b6c81fc65dd0c57ebc00b0ba6fe784b22 (diff) | |
download | chromium_src-6ce28f57d686337e99099a7a97354f45d22ca2f6.zip chromium_src-6ce28f57d686337e99099a7a97354f45d22ca2f6.tar.gz chromium_src-6ce28f57d686337e99099a7a97354f45d22ca2f6.tar.bz2 |
Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading.
This parameter is unused in almost every class derived from WebContentsObserver.
This will make refactoring the OnDid{Start|Stop}Loading IPCs from
WebContentsImpl to RenderFrameHostImpl simpler.
BUG=429399,450799
Review URL: https://codereview.chromium.org/1008913002
Cr-Commit-Position: refs/heads/master@{#321341}
Diffstat (limited to 'content/browser/frame_host/navigation_controller_impl_browsertest.cc')
-rw-r--r-- | content/browser/frame_host/navigation_controller_impl_browsertest.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/content/browser/frame_host/navigation_controller_impl_browsertest.cc b/content/browser/frame_host/navigation_controller_impl_browsertest.cc index 66646f7..6f54e00 100644 --- a/content/browser/frame_host/navigation_controller_impl_browsertest.cc +++ b/content/browser/frame_host/navigation_controller_impl_browsertest.cc @@ -289,7 +289,7 @@ class FrameNavigateParamsCapturer : public WebContentsObserver { message_loop_runner_->Quit(); } - void DidStopLoading(RenderViewHost* render_view_host) override { + void DidStopLoading() override { if (!navigations_remaining_) message_loop_runner_->Quit(); } @@ -359,9 +359,7 @@ class LoadCommittedCapturer : public WebContentsObserver { message_loop_runner_->Quit(); } - void DidStopLoading(RenderViewHost* render_view_host) override { - message_loop_runner_->Quit(); - } + void DidStopLoading() override { message_loop_runner_->Quit(); } // The id of the FrameTreeNode whose navigations to observe. int frame_tree_node_id_; |