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

Unified Diff: components/dom_distiller/content/distiller_page_web_contents_browsertest.cc

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
Index: components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
diff --git a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
index 432c958bd61a6d35f758a08a724e2a30ac7fc6e8..5a96d14254812a92d29068018628958f156c6011 100644
--- a/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
+++ b/components/dom_distiller/content/distiller_page_web_contents_browsertest.cc
@@ -38,7 +38,7 @@ const char* kVideoArticlePath = "/video_article.html";
class DistillerPageWebContentsTest : public ContentBrowserTest {
public:
// ContentBrowserTest:
- virtual void SetUpOnMainThread() OVERRIDE {
+ virtual void SetUpOnMainThread() override {
AddComponentsResources();
SetUpTestServer();
ContentBrowserTest::SetUpOnMainThread();
@@ -103,7 +103,7 @@ class TestDistillerPageWebContents : public DistillerPageWebContents {
expect_new_web_contents_(expect_new_web_contents),
new_web_contents_created_(false) {}
- virtual void CreateNewWebContents(const GURL& url) OVERRIDE {
+ virtual void CreateNewWebContents(const GURL& url) override {
ASSERT_EQ(true, expect_new_web_contents_);
new_web_contents_created_ = true;
// DistillerPageWebContents::CreateNewWebContents resets the scoped_ptr to
@@ -145,7 +145,7 @@ class WebContentsMainFrameHelper : public content::WebContentsObserver {
virtual void DidCommitProvisionalLoadForFrame(
content::RenderFrameHost* render_frame_host,
const GURL& url,
- ui::PageTransition transition_type) OVERRIDE {
+ ui::PageTransition transition_type) override {
if (wait_for_document_loaded_)
return;
if (!render_frame_host->GetParent())
@@ -153,7 +153,7 @@ class WebContentsMainFrameHelper : public content::WebContentsObserver {
}
virtual void DocumentLoadedInFrame(
- content::RenderFrameHost* render_frame_host) OVERRIDE {
+ content::RenderFrameHost* render_frame_host) override {
if (wait_for_document_loaded_) {
if (!render_frame_host->GetParent())
callback_.Run();

Powered by Google App Engine
This is Rietveld 408576698