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

Unified Diff: sandbox/win/src/sandbox_policy_base.h

Issue 628233002: replace OVERRIDE and FINAL with override and final in sandbox/ (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 | « sandbox/win/src/broker_services.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/win/src/sandbox_policy_base.h
diff --git a/sandbox/win/src/sandbox_policy_base.h b/sandbox/win/src/sandbox_policy_base.h
index 9ba8d2729c78fc3d0d9616e3ef6a6c2262f06eb1..aac4d65cecddbc72e707b7576e569ac6c02e6cbb 100644
--- a/sandbox/win/src/sandbox_policy_base.h
+++ b/sandbox/win/src/sandbox_policy_base.h
@@ -37,44 +37,44 @@ class PolicyBase : public Dispatcher, public TargetPolicy {
PolicyBase();
// TargetPolicy:
- virtual void AddRef() OVERRIDE;
- virtual void Release() OVERRIDE;
+ virtual void AddRef() override;
+ virtual void Release() override;
virtual ResultCode SetTokenLevel(TokenLevel initial,
- TokenLevel lockdown) OVERRIDE;
- virtual TokenLevel GetInitialTokenLevel() const OVERRIDE;
- virtual TokenLevel GetLockdownTokenLevel() const OVERRIDE;
+ TokenLevel lockdown) override;
+ virtual TokenLevel GetInitialTokenLevel() const override;
+ virtual TokenLevel GetLockdownTokenLevel() const override;
virtual ResultCode SetJobLevel(JobLevel job_level,
- uint32 ui_exceptions) OVERRIDE;
- virtual ResultCode SetJobMemoryLimit(size_t memory_limit) OVERRIDE;
- virtual ResultCode SetAlternateDesktop(bool alternate_winstation) OVERRIDE;
- virtual base::string16 GetAlternateDesktop() const OVERRIDE;
- virtual ResultCode CreateAlternateDesktop(bool alternate_winstation) OVERRIDE;
- virtual void DestroyAlternateDesktop() OVERRIDE;
- virtual ResultCode SetIntegrityLevel(IntegrityLevel integrity_level) OVERRIDE;
- virtual IntegrityLevel GetIntegrityLevel() const OVERRIDE;
+ uint32 ui_exceptions) override;
+ virtual ResultCode SetJobMemoryLimit(size_t memory_limit) override;
+ virtual ResultCode SetAlternateDesktop(bool alternate_winstation) override;
+ virtual base::string16 GetAlternateDesktop() const override;
+ virtual ResultCode CreateAlternateDesktop(bool alternate_winstation) override;
+ virtual void DestroyAlternateDesktop() override;
+ virtual ResultCode SetIntegrityLevel(IntegrityLevel integrity_level) override;
+ virtual IntegrityLevel GetIntegrityLevel() const override;
virtual ResultCode SetDelayedIntegrityLevel(
- IntegrityLevel integrity_level) OVERRIDE;
- virtual ResultCode SetAppContainer(const wchar_t* sid) OVERRIDE;
- virtual ResultCode SetCapability(const wchar_t* sid) OVERRIDE;
- virtual ResultCode SetProcessMitigations(MitigationFlags flags) OVERRIDE;
- virtual MitigationFlags GetProcessMitigations() OVERRIDE;
+ IntegrityLevel integrity_level) override;
+ virtual ResultCode SetAppContainer(const wchar_t* sid) override;
+ virtual ResultCode SetCapability(const wchar_t* sid) override;
+ virtual ResultCode SetProcessMitigations(MitigationFlags flags) override;
+ virtual MitigationFlags GetProcessMitigations() override;
virtual ResultCode SetDelayedProcessMitigations(
- MitigationFlags flags) OVERRIDE;
- virtual MitigationFlags GetDelayedProcessMitigations() const OVERRIDE;
- virtual void SetStrictInterceptions() OVERRIDE;
- virtual ResultCode SetStdoutHandle(HANDLE handle) OVERRIDE;
- virtual ResultCode SetStderrHandle(HANDLE handle) OVERRIDE;
+ MitigationFlags flags) override;
+ virtual MitigationFlags GetDelayedProcessMitigations() const override;
+ virtual void SetStrictInterceptions() override;
+ virtual ResultCode SetStdoutHandle(HANDLE handle) override;
+ virtual ResultCode SetStderrHandle(HANDLE handle) override;
virtual ResultCode AddRule(SubSystem subsystem, Semantics semantics,
- const wchar_t* pattern) OVERRIDE;
+ const wchar_t* pattern) override;
virtual ResultCode AddDllToUnload(const wchar_t* dll_name);
virtual ResultCode AddKernelObjectToClose(
const base::char16* handle_type,
- const base::char16* handle_name) OVERRIDE;
+ const base::char16* handle_name) override;
// Dispatcher:
virtual Dispatcher* OnMessageReady(IPCParams* ipc,
- CallbackGeneric* callback) OVERRIDE;
- virtual bool SetupService(InterceptionManager* manager, int service) OVERRIDE;
+ CallbackGeneric* callback) override;
+ virtual bool SetupService(InterceptionManager* manager, int service) override;
// Creates a Job object with the level specified in a previous call to
// SetJobLevel().
« no previous file with comments | « sandbox/win/src/broker_services.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698