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

Unified Diff: content/browser/utility_process_host_impl.h

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/transition_browsertest.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/utility_process_host_impl.h
diff --git a/content/browser/utility_process_host_impl.h b/content/browser/utility_process_host_impl.h
index b88f77d992a4ef548d3ef19235ee80855677c785..c310e9b4bf0c200139ac587fc77bf41342ad8355 100644
--- a/content/browser/utility_process_host_impl.h
+++ b/content/browser/utility_process_host_impl.h
@@ -38,21 +38,21 @@ class CONTENT_EXPORT UtilityProcessHostImpl
UtilityProcessHostImpl(
const scoped_refptr<UtilityProcessHostClient>& client,
const scoped_refptr<base::SequencedTaskRunner>& client_task_runner);
- virtual ~UtilityProcessHostImpl();
+ ~UtilityProcessHostImpl() override;
// UtilityProcessHost implementation:
- virtual bool Send(IPC::Message* message) override;
- virtual bool StartBatchMode() override;
- virtual void EndBatchMode() override;
- virtual void SetExposedDir(const base::FilePath& dir) override;
- virtual void EnableMDns() override;
- virtual void DisableSandbox() override;
+ bool Send(IPC::Message* message) override;
+ bool StartBatchMode() override;
+ void EndBatchMode() override;
+ void SetExposedDir(const base::FilePath& dir) override;
+ void EnableMDns() override;
+ void DisableSandbox() override;
#if defined(OS_WIN)
virtual void ElevatePrivileges() override;
#endif
- virtual const ChildProcessData& GetData() override;
+ const ChildProcessData& GetData() override;
#if defined(OS_POSIX)
- virtual void SetEnv(const base::EnvironmentMap& env) override;
+ void SetEnv(const base::EnvironmentMap& env) override;
#endif
void set_child_flags(int flags) { child_flags_ = flags; }
@@ -63,9 +63,9 @@ class CONTENT_EXPORT UtilityProcessHostImpl
bool StartProcess();
// BrowserChildProcessHost:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
- virtual void OnProcessLaunchFailed() override;
- virtual void OnProcessCrashed(int exit_code) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
+ void OnProcessLaunchFailed() override;
+ void OnProcessCrashed(int exit_code) override;
// A pointer to our client interface, who will be informed of progress.
scoped_refptr<UtilityProcessHostClient> client_;
« no previous file with comments | « content/browser/transition_browsertest.cc ('k') | content/browser/utility_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698