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

Unified Diff: content/renderer/render_view_browsertest.cc

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (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/renderer/render_thread_impl_unittest.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_browsertest.cc
diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
index bbf04546a2dff3ecea2251e0e51c8fb424d5b393..15c85be36e9d4436077340b84ade04c7cf25ee72 100644
--- a/content/renderer/render_view_browsertest.cc
+++ b/content/renderer/render_view_browsertest.cc
@@ -116,19 +116,19 @@ int ConvertMockKeyboardModifier(MockKeyboard::Modifiers modifiers) {
class WebUITestWebUIControllerFactory : public WebUIControllerFactory {
public:
virtual WebUIController* CreateWebUIControllerForURL(
- WebUI* web_ui, const GURL& url) const OVERRIDE {
+ WebUI* web_ui, const GURL& url) const override {
return NULL;
}
virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return WebUI::kNoWebUI;
}
virtual bool UseWebUIForURL(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return HasWebUIScheme(url);
}
virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return HasWebUIScheme(url);
}
};
@@ -144,7 +144,7 @@ class RenderViewImplTest : public RenderViewTest {
virtual ~RenderViewImplTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
RenderViewTest::SetUp();
// Enable Blink's experimental and test only features so that test code
// does not have to bother enabling each feature.
@@ -2169,7 +2169,7 @@ TEST_F(RenderViewImplTest, MessageOrderInDidChangeSelection) {
class SuppressErrorPageTest : public RenderViewTest {
public:
- virtual ContentRendererClient* CreateContentRendererClient() OVERRIDE {
+ virtual ContentRendererClient* CreateContentRendererClient() override {
return new TestContentRendererClient;
}
@@ -2185,7 +2185,7 @@ class SuppressErrorPageTest : public RenderViewTest {
class TestContentRendererClient : public ContentRendererClient {
public:
virtual bool ShouldSuppressErrorPage(RenderFrame* render_frame,
- const GURL& url) OVERRIDE {
+ const GURL& url) override {
return url == GURL("http://example.com/suppress");
}
@@ -2195,7 +2195,7 @@ class SuppressErrorPageTest : public RenderViewTest {
const blink::WebURLRequest& failed_request,
const blink::WebURLError& error,
std::string* error_html,
- base::string16* error_description) OVERRIDE {
+ base::string16* error_description) override {
if (error_html)
*error_html = "A suffusion of yellow.";
}
« no previous file with comments | « content/renderer/render_thread_impl_unittest.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698