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

Unified Diff: content/test/test_frame_navigation_observer.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/test_content_client.h ('k') | content/test/test_media_stream_renderer_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_frame_navigation_observer.h
diff --git a/content/test/test_frame_navigation_observer.h b/content/test/test_frame_navigation_observer.h
index 7cbf57eda46253b453b0abab4c85394a11a7c560..9ff42c53e858e059a1e87f19623b90f30fff74e4 100644
--- a/content/test/test_frame_navigation_observer.h
+++ b/content/test/test_frame_navigation_observer.h
@@ -32,7 +32,7 @@ class TestFrameNavigationObserver : public WebContentsObserver {
// As above but waits for one navigation.
explicit TestFrameNavigationObserver(FrameTreeNode* node);
- virtual ~TestFrameNavigationObserver();
+ ~TestFrameNavigationObserver() override;
// Runs a nested message loop and blocks until the expected number of
// navigations are complete.
@@ -40,15 +40,13 @@ class TestFrameNavigationObserver : public WebContentsObserver {
private:
// WebContentsObserver
- virtual void DidStartProvisionalLoadForFrame(
- RenderFrameHost* render_frame_host,
- const GURL& validated_url,
- bool is_error_page,
- bool is_iframe_srcdoc) override;
- virtual void DidNavigateAnyFrame(
- RenderFrameHost* render_frame_host,
- const LoadCommittedDetails& details,
- const FrameNavigateParams& params) override;
+ void DidStartProvisionalLoadForFrame(RenderFrameHost* render_frame_host,
+ const GURL& validated_url,
+ bool is_error_page,
+ bool is_iframe_srcdoc) override;
+ void DidNavigateAnyFrame(RenderFrameHost* render_frame_host,
+ const LoadCommittedDetails& details,
+ const FrameNavigateParams& params) override;
// The id of the FrameTreeNode in which navigations are peformed.
int frame_tree_node_id_;
« no previous file with comments | « content/test/test_content_client.h ('k') | content/test/test_media_stream_renderer_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698