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

Unified Diff: content/browser/utility_process_host_impl.cc

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (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/browser/utility_process_host_impl.h ('k') | content/browser/vibration/vibration_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.cc
diff --git a/content/browser/utility_process_host_impl.cc b/content/browser/utility_process_host_impl.cc
index 848d20897dbb44aa7b18b4165a9f395f143bfbd5..0d24e3a5e6906b25fe18e6a41e8ee885251439cb 100644
--- a/content/browser/utility_process_host_impl.cc
+++ b/content/browser/utility_process_host_impl.cc
@@ -47,7 +47,7 @@ class UtilitySandboxedProcessLauncherDelegate
#endif // OS_WIN
{}
- virtual ~UtilitySandboxedProcessLauncherDelegate() {}
+ ~UtilitySandboxedProcessLauncherDelegate() override {}
#if defined(OS_WIN)
virtual bool ShouldLaunchElevated() override {
@@ -59,15 +59,11 @@ class UtilitySandboxedProcessLauncherDelegate
}
#elif defined(OS_POSIX)
- virtual bool ShouldUseZygote() override {
+ bool ShouldUseZygote() override {
return !no_sandbox_ && exposed_dir_.empty();
}
- virtual base::EnvironmentMap GetEnvironment() override {
- return env_;
- }
- virtual base::ScopedFD TakeIpcFd() override {
- return ipc_fd_.Pass();
- }
+ base::EnvironmentMap GetEnvironment() override { return env_; }
+ base::ScopedFD TakeIpcFd() override { return ipc_fd_.Pass(); }
#endif // OS_WIN
private:
« no previous file with comments | « content/browser/utility_process_host_impl.h ('k') | content/browser/vibration/vibration_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698