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

Unified Diff: components/nacl/browser/nacl_process_host.cc

Issue 666133002: Standardize usage of virtual/override/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
« no previous file with comments | « components/nacl/browser/nacl_process_host.h ('k') | components/nacl/browser/test_nacl_browser_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/browser/nacl_process_host.cc
diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc
index 00c1201e2ffc0083e8597aa01258d61f261d7e5d..1fdb09b320b8cd6312797e12080010ba2641e9fe 100644
--- a/components/nacl/browser/nacl_process_host.cc
+++ b/components/nacl/browser/nacl_process_host.cc
@@ -160,7 +160,7 @@ class NaClSandboxedProcessLauncherDelegate
#endif
{}
- virtual ~NaClSandboxedProcessLauncherDelegate() {}
+ ~NaClSandboxedProcessLauncherDelegate() override {}
#if defined(OS_WIN)
virtual void PostSpawnTarget(base::ProcessHandle process) {
@@ -176,12 +176,8 @@ class NaClSandboxedProcessLauncherDelegate
}
}
#elif defined(OS_POSIX)
- virtual bool ShouldUseZygote() override {
- return true;
- }
- virtual base::ScopedFD TakeIpcFd() override {
- return ipc_fd_.Pass();
- }
+ bool ShouldUseZygote() override { return true; }
+ base::ScopedFD TakeIpcFd() override { return ipc_fd_.Pass(); }
#endif // OS_WIN
private:
« no previous file with comments | « components/nacl/browser/nacl_process_host.h ('k') | components/nacl/browser/test_nacl_browser_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698