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

Unified Diff: content/browser/renderer_host/render_process_host_browsertest.cc

Issue 616603004: Replacing the OVERRIDE with override and FINAL with final in content/browser/renderer_host (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
Index: content/browser/renderer_host/render_process_host_browsertest.cc
diff --git a/content/browser/renderer_host/render_process_host_browsertest.cc b/content/browser/renderer_host/render_process_host_browsertest.cc
index e815f016ef540db43213058183dfa60e4c0aa2af..628fb1d590c6f1c56480becbc98cef8ef04d9883 100644
--- a/content/browser/renderer_host/render_process_host_browsertest.cc
+++ b/content/browser/renderer_host/render_process_host_browsertest.cc
@@ -45,10 +45,10 @@ class RenderProcessHostTest : public ContentBrowserTest,
virtual void RenderProcessExited(RenderProcessHost* host,
base::ProcessHandle handle,
base::TerminationStatus status,
- int exit_code) OVERRIDE {
+ int exit_code) override {
++process_exits_;
}
- virtual void RenderProcessHostDestroyed(RenderProcessHost* host) OVERRIDE {
+ virtual void RenderProcessHostDestroyed(RenderProcessHost* host) override {
++host_destructions_;
}
@@ -124,12 +124,12 @@ class ShellCloser : public RenderProcessHostObserver {
virtual void RenderProcessExited(RenderProcessHost* host,
base::ProcessHandle handle,
base::TerminationStatus status,
- int exit_code) OVERRIDE {
+ int exit_code) override {
logging_string_->append("ShellCloser::RenderProcessExited ");
shell_->Close();
}
- virtual void RenderProcessHostDestroyed(RenderProcessHost* host) OVERRIDE {
+ virtual void RenderProcessHostDestroyed(RenderProcessHost* host) override {
logging_string_->append("ShellCloser::RenderProcessHostDestroyed ");
}
@@ -149,11 +149,11 @@ class ObserverLogger : public RenderProcessHostObserver {
virtual void RenderProcessExited(RenderProcessHost* host,
base::ProcessHandle handle,
base::TerminationStatus status,
- int exit_code) OVERRIDE {
+ int exit_code) override {
logging_string_->append("ObserverLogger::RenderProcessExited ");
}
- virtual void RenderProcessHostDestroyed(RenderProcessHost* host) OVERRIDE {
+ virtual void RenderProcessHostDestroyed(RenderProcessHost* host) override {
logging_string_->append("ObserverLogger::RenderProcessHostDestroyed ");
host_destroyed_ = true;
}
@@ -208,7 +208,7 @@ class Win32KLockdownRendererProcessHostTest : public RenderProcessHostTest {
virtual ~Win32KLockdownRendererProcessHostTest() {}
protected:
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
command_line->AppendSwitch(switches::kEnableWin32kRendererLockDown);
RenderProcessHostTest::SetUp();
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/browser/renderer_host/render_process_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698