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

Unified Diff: content/browser/webui/web_ui_mojo_browsertest.cc

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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/browser/webui/web_ui_impl.h ('k') | content/browser/zygote_host/zygote_host_impl_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_mojo_browsertest.cc
diff --git a/content/browser/webui/web_ui_mojo_browsertest.cc b/content/browser/webui/web_ui_mojo_browsertest.cc
index ff9a4e1c4501d27c8e348fe92fd722467c6862af..c4908ef958820efe12ee039f8d271322b309ad0a 100644
--- a/content/browser/webui/web_ui_mojo_browsertest.cc
+++ b/content/browser/webui/web_ui_mojo_browsertest.cc
@@ -67,7 +67,7 @@ class BrowserTargetImpl : public mojo::InterfaceImpl<BrowserTarget> {
virtual ~BrowserTargetImpl() {}
// mojo::InterfaceImpl<BrowserTarget> overrides:
- virtual void PingResponse() OVERRIDE {
+ virtual void PingResponse() override {
NOTREACHED();
}
@@ -86,12 +86,12 @@ class PingBrowserTargetImpl : public BrowserTargetImpl {
virtual ~PingBrowserTargetImpl() {}
// mojo::InterfaceImpl<BrowserTarget> overrides:
- virtual void OnConnectionEstablished() OVERRIDE {
+ virtual void OnConnectionEstablished() override {
client()->Ping();
}
// Quit the RunLoop when called.
- virtual void PingResponse() OVERRIDE {
+ virtual void PingResponse() override {
got_message = true;
run_loop_->Quit();
}
@@ -130,7 +130,7 @@ class PingTestWebUIController : public TestWebUIController {
virtual ~PingTestWebUIController() {}
// WebUIController overrides:
- virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE {
+ virtual void RenderViewCreated(RenderViewHost* render_view_host) override {
render_view_host->GetMainFrame()->GetServiceRegistry()->
AddService<BrowserTarget>(base::Bind(
&PingTestWebUIController::CreateHandler, base::Unretained(this)));
@@ -153,21 +153,21 @@ class TestWebUIControllerFactory : public WebUIControllerFactory {
void set_run_loop(base::RunLoop* run_loop) { run_loop_ = run_loop; }
virtual WebUIController* CreateWebUIControllerForURL(
- WebUI* web_ui, const GURL& url) const OVERRIDE {
+ WebUI* web_ui, const GURL& url) const override {
if (url.query() == "ping")
return new PingTestWebUIController(web_ui, run_loop_);
return NULL;
}
virtual WebUI::TypeID GetWebUIType(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return reinterpret_cast<WebUI::TypeID>(1);
}
virtual bool UseWebUIForURL(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return true;
}
virtual bool UseWebUIBindingsForURL(BrowserContext* browser_context,
- const GURL& url) const OVERRIDE {
+ const GURL& url) const override {
return true;
}
« no previous file with comments | « content/browser/webui/web_ui_impl.h ('k') | content/browser/zygote_host/zygote_host_impl_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698