Commit 0553ad50 authored by mohan.reddy's avatar mohan.reddy Committed by Commit bot

Replacing the OVERRIDE with override and in chrome

This step is a giant search and replace for OVERRIDE to
replace them with their lowercase versions.

BUG=417463

Review URL: https://codereview.chromium.org/644903002

Cr-Commit-Position: refs/heads/master@{#299062}
parent da30ed35
...@@ -12,7 +12,7 @@ class ChromeMainDelegateChromeShellAndroid : public ChromeMainDelegateAndroid { ...@@ -12,7 +12,7 @@ class ChromeMainDelegateChromeShellAndroid : public ChromeMainDelegateAndroid {
ChromeMainDelegateChromeShellAndroid(); ChromeMainDelegateChromeShellAndroid();
virtual ~ChromeMainDelegateChromeShellAndroid(); virtual ~ChromeMainDelegateChromeShellAndroid();
virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; virtual bool BasicStartupComplete(int* exit_code) override;
private: private:
DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeShellAndroid); DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeShellAndroid);
......
...@@ -12,7 +12,7 @@ class ChromeShellGoogleLocationSettingsHelper ...@@ -12,7 +12,7 @@ class ChromeShellGoogleLocationSettingsHelper
: public GoogleLocationSettingsHelper { : public GoogleLocationSettingsHelper {
public: public:
// GoogleLocationSettingsHelper implementation: // GoogleLocationSettingsHelper implementation:
virtual bool IsSystemLocationEnabled() OVERRIDE; virtual bool IsSystemLocationEnabled() override;
protected: protected:
ChromeShellGoogleLocationSettingsHelper(); ChromeShellGoogleLocationSettingsHelper();
......
...@@ -13,9 +13,9 @@ class ChromeMainDelegateChromeSyncShellAndroid ...@@ -13,9 +13,9 @@ class ChromeMainDelegateChromeSyncShellAndroid
ChromeMainDelegateChromeSyncShellAndroid(); ChromeMainDelegateChromeSyncShellAndroid();
virtual ~ChromeMainDelegateChromeSyncShellAndroid(); virtual ~ChromeMainDelegateChromeSyncShellAndroid();
virtual bool RegisterApplicationNativeMethods(JNIEnv* env) OVERRIDE; virtual bool RegisterApplicationNativeMethods(JNIEnv* env) override;
virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; virtual bool BasicStartupComplete(int* exit_code) override;
private: private:
DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid); DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateChromeSyncShellAndroid);
......
...@@ -21,13 +21,13 @@ class ChromeMainDelegateAndroid : public ChromeMainDelegate { ...@@ -21,13 +21,13 @@ class ChromeMainDelegateAndroid : public ChromeMainDelegate {
ChromeMainDelegateAndroid(); ChromeMainDelegateAndroid();
virtual ~ChromeMainDelegateAndroid(); virtual ~ChromeMainDelegateAndroid();
virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; virtual bool BasicStartupComplete(int* exit_code) override;
virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; virtual void SandboxInitialized(const std::string& process_type) override;
virtual int RunProcess( virtual int RunProcess(
const std::string& process_type, const std::string& process_type,
const content::MainFunctionParams& main_function_params) OVERRIDE; const content::MainFunctionParams& main_function_params) override;
private: private:
scoped_ptr<content::BrowserMainRunner> browser_runner_; scoped_ptr<content::BrowserMainRunner> browser_runner_;
......
...@@ -18,55 +18,55 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient { ...@@ -18,55 +18,55 @@ class ChromeCrashReporterClient : public crash_reporter::CrashReporterClient {
// crash_reporter::CrashReporterClient implementation. // crash_reporter::CrashReporterClient implementation.
virtual void SetCrashReporterClientIdFromGUID( virtual void SetCrashReporterClientIdFromGUID(
const std::string& client_guid) OVERRIDE; const std::string& client_guid) override;
#if defined(OS_WIN) #if defined(OS_WIN)
virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir) virtual bool GetAlternativeCrashDumpLocation(base::FilePath* crash_dir)
OVERRIDE; override;
virtual void GetProductNameAndVersion(const base::FilePath& exe_path, virtual void GetProductNameAndVersion(const base::FilePath& exe_path,
base::string16* product_name, base::string16* product_name,
base::string16* version, base::string16* version,
base::string16* special_build, base::string16* special_build,
base::string16* channel_name) OVERRIDE; base::string16* channel_name) override;
virtual bool ShouldShowRestartDialog(base::string16* title, virtual bool ShouldShowRestartDialog(base::string16* title,
base::string16* message, base::string16* message,
bool* is_rtl_locale) OVERRIDE; bool* is_rtl_locale) override;
virtual bool AboutToRestart() OVERRIDE; virtual bool AboutToRestart() override;
virtual bool GetDeferredUploadsSupported(bool is_per_user_install) OVERRIDE; virtual bool GetDeferredUploadsSupported(bool is_per_user_install) override;
virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) OVERRIDE; virtual bool GetIsPerUserInstall(const base::FilePath& exe_path) override;
virtual bool GetShouldDumpLargerDumps(bool is_per_user_install) OVERRIDE; virtual bool GetShouldDumpLargerDumps(bool is_per_user_install) override;
virtual int GetResultCodeRespawnFailed() OVERRIDE; virtual int GetResultCodeRespawnFailed() override;
virtual void InitBrowserCrashDumpsRegKey() OVERRIDE; virtual void InitBrowserCrashDumpsRegKey() override;
virtual void RecordCrashDumpAttempt(bool is_real_crash) OVERRIDE; virtual void RecordCrashDumpAttempt(bool is_real_crash) override;
#endif #endif
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS) #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_IOS)
virtual void GetProductNameAndVersion(const char** product_name, virtual void GetProductNameAndVersion(const char** product_name,
const char** version) OVERRIDE; const char** version) override;
virtual base::FilePath GetReporterLogFilename() OVERRIDE; virtual base::FilePath GetReporterLogFilename() override;
#endif #endif
virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) OVERRIDE; virtual bool GetCrashDumpLocation(base::FilePath* crash_dir) override;
virtual size_t RegisterCrashKeys() OVERRIDE; virtual size_t RegisterCrashKeys() override;
virtual bool IsRunningUnattended() OVERRIDE; virtual bool IsRunningUnattended() override;
virtual bool GetCollectStatsConsent() OVERRIDE; virtual bool GetCollectStatsConsent() override;
#if defined(OS_WIN) || defined(OS_MACOSX) #if defined(OS_WIN) || defined(OS_MACOSX)
virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) OVERRIDE; virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled) override;
#endif #endif
#if defined(OS_ANDROID) #if defined(OS_ANDROID)
virtual int GetAndroidMinidumpDescriptor() OVERRIDE; virtual int GetAndroidMinidumpDescriptor() override;
#endif #endif
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
virtual void InstallAdditionalFilters(BreakpadRef breakpad) OVERRIDE; virtual void InstallAdditionalFilters(BreakpadRef breakpad) override;
#endif #endif
virtual bool EnableBreakpadForProcess( virtual bool EnableBreakpadForProcess(
const std::string& process_type) OVERRIDE; const std::string& process_type) override;
private: private:
DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient); DISALLOW_COPY_AND_ASSIGN(ChromeCrashReporterClient);
......
...@@ -25,32 +25,32 @@ class ChromeMainDelegate : public content::ContentMainDelegate { ...@@ -25,32 +25,32 @@ class ChromeMainDelegate : public content::ContentMainDelegate {
protected: protected:
// content::ContentMainDelegate implementation: // content::ContentMainDelegate implementation:
virtual bool BasicStartupComplete(int* exit_code) OVERRIDE; virtual bool BasicStartupComplete(int* exit_code) override;
virtual void PreSandboxStartup() OVERRIDE; virtual void PreSandboxStartup() override;
virtual void SandboxInitialized(const std::string& process_type) OVERRIDE; virtual void SandboxInitialized(const std::string& process_type) override;
virtual int RunProcess( virtual int RunProcess(
const std::string& process_type, const std::string& process_type,
const content::MainFunctionParams& main_function_params) OVERRIDE; const content::MainFunctionParams& main_function_params) override;
virtual void ProcessExiting(const std::string& process_type) OVERRIDE; virtual void ProcessExiting(const std::string& process_type) override;
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
virtual bool ProcessRegistersWithSystemProcess( virtual bool ProcessRegistersWithSystemProcess(
const std::string& process_type) OVERRIDE; const std::string& process_type) override;
virtual bool ShouldSendMachPort(const std::string& process_type) OVERRIDE; virtual bool ShouldSendMachPort(const std::string& process_type) override;
virtual bool DelaySandboxInitialization( virtual bool DelaySandboxInitialization(
const std::string& process_type) OVERRIDE; const std::string& process_type) override;
#elif defined(OS_POSIX) && !defined(OS_ANDROID) #elif defined(OS_POSIX) && !defined(OS_ANDROID)
virtual void ZygoteStarting( virtual void ZygoteStarting(
ScopedVector<content::ZygoteForkDelegate>* delegates) OVERRIDE; ScopedVector<content::ZygoteForkDelegate>* delegates) override;
virtual void ZygoteForked() OVERRIDE; virtual void ZygoteForked() override;
#elif defined(OS_WIN) #elif defined(OS_WIN)
virtual bool ShouldEnableTerminationOnHeapCorruption() OVERRIDE; virtual bool ShouldEnableTerminationOnHeapCorruption() override;
#endif #endif
virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; virtual content::ContentBrowserClient* CreateContentBrowserClient() override;
virtual content::ContentPluginClient* CreateContentPluginClient() OVERRIDE; virtual content::ContentPluginClient* CreateContentPluginClient() override;
virtual content::ContentRendererClient* virtual content::ContentRendererClient*
CreateContentRendererClient() OVERRIDE; CreateContentRendererClient() override;
virtual content::ContentUtilityClient* CreateContentUtilityClient() OVERRIDE; virtual content::ContentUtilityClient* CreateContentUtilityClient() override;
#if defined(OS_MACOSX) #if defined(OS_MACOSX)
void InitMacCrashReporter(const base::CommandLine& command_line, void InitMacCrashReporter(const base::CommandLine& command_line,
......
...@@ -355,10 +355,10 @@ class ChromeDllLoader : public MainDllLoader { ...@@ -355,10 +355,10 @@ class ChromeDllLoader : public MainDllLoader {
class ChromiumDllLoader : public MainDllLoader { class ChromiumDllLoader : public MainDllLoader {
protected: protected:
virtual void OnBeforeLaunch(const base::string16& dll_path) OVERRIDE { virtual void OnBeforeLaunch(const base::string16& dll_path) override {
} }
virtual int OnBeforeExit(int return_code, virtual int OnBeforeExit(int return_code,
const base::string16& dll_path) OVERRIDE { const base::string16& dll_path) override {
return return_code; return return_code;
} }
}; };
......
...@@ -23,7 +23,7 @@ class ChromeDelayLoadHookTest : public testing::Test { ...@@ -23,7 +23,7 @@ class ChromeDelayLoadHookTest : public testing::Test {
ChromeDelayLoadHookTest() : proc_ptr_(NULL) { ChromeDelayLoadHookTest() : proc_ptr_(NULL) {
} }
virtual void SetUp() OVERRIDE { virtual void SetUp() override {
SetupInfo("kernel32.dll"); SetupInfo("kernel32.dll");
} }
......
...@@ -36,7 +36,7 @@ class SignatureValidatorTest : public testing::Test { ...@@ -36,7 +36,7 @@ class SignatureValidatorTest : public testing::Test {
protected: protected:
SignatureValidatorTest() {} SignatureValidatorTest() {}
void SetUp() OVERRIDE { void SetUp() override {
test_roots_ = net::TestRootCerts::GetInstance(); test_roots_ = net::TestRootCerts::GetInstance();
base::FilePath cert_path = base::FilePath cert_path =
GetTestCertsDirectory().Append(L"AuthorityCert.cer"); GetTestCertsDirectory().Append(L"AuthorityCert.cer");
...@@ -49,7 +49,7 @@ class SignatureValidatorTest : public testing::Test { ...@@ -49,7 +49,7 @@ class SignatureValidatorTest : public testing::Test {
SetExpectedHash(GetTestCertsDirectory().Append(L"ValidCert.cer")); SetExpectedHash(GetTestCertsDirectory().Append(L"ValidCert.cer"));
} }
void TearDown() OVERRIDE { void TearDown() override {
test_roots_->Clear(); test_roots_->Clear();
EXPECT_TRUE(test_roots_->IsEmpty()); EXPECT_TRUE(test_roots_->IsEmpty());
} }
......
...@@ -119,8 +119,8 @@ class AppShimController : public IPC::Listener { ...@@ -119,8 +119,8 @@ class AppShimController : public IPC::Listener {
private: private:
// IPC::Listener implemetation. // IPC::Listener implemetation.
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; virtual bool OnMessageReceived(const IPC::Message& message) override;
virtual void OnChannelError() OVERRIDE; virtual void OnChannelError() override;
// If Chrome failed to launch the app, |success| will be false and the app // If Chrome failed to launch the app, |success| will be false and the app
// shim process should die. // shim process should die.
......
...@@ -42,10 +42,10 @@ class SettingsOverridesHandler : public ManifestHandler { ...@@ -42,10 +42,10 @@ class SettingsOverridesHandler : public ManifestHandler {
SettingsOverridesHandler(); SettingsOverridesHandler();
virtual ~SettingsOverridesHandler(); virtual ~SettingsOverridesHandler();
virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; virtual bool Parse(Extension* extension, base::string16* error) override;
private: private:
virtual const std::vector<std::string> Keys() const OVERRIDE; virtual const std::vector<std::string> Keys() const override;
DISALLOW_COPY_AND_ASSIGN(SettingsOverridesHandler); DISALLOW_COPY_AND_ASSIGN(SettingsOverridesHandler);
}; };
......
...@@ -39,19 +39,19 @@ class UIOverridesHandler : public ManifestHandler { ...@@ -39,19 +39,19 @@ class UIOverridesHandler : public ManifestHandler {
UIOverridesHandler(); UIOverridesHandler();
virtual ~UIOverridesHandler(); virtual ~UIOverridesHandler();
virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; virtual bool Parse(Extension* extension, base::string16* error) override;
virtual bool Validate(const Extension* extension, virtual bool Validate(const Extension* extension,
std::string* error, std::string* error,
std::vector<InstallWarning>* warnings) const OVERRIDE; std::vector<InstallWarning>* warnings) const override;
virtual ManifestPermission* CreatePermission() OVERRIDE; virtual ManifestPermission* CreatePermission() override;
virtual ManifestPermission* CreateInitialRequiredPermission( virtual ManifestPermission* CreateInitialRequiredPermission(
const Extension* extension) OVERRIDE; const Extension* extension) override;
private: private:
class ManifestPermissionImpl; class ManifestPermissionImpl;
virtual const std::vector<std::string> Keys() const OVERRIDE; virtual const std::vector<std::string> Keys() const override;
DISALLOW_COPY_AND_ASSIGN(UIOverridesHandler); DISALLOW_COPY_AND_ASSIGN(UIOverridesHandler);
}; };
......
...@@ -28,17 +28,17 @@ class ChromePermissionMessageProvider : public PermissionMessageProvider { ...@@ -28,17 +28,17 @@ class ChromePermissionMessageProvider : public PermissionMessageProvider {
// PermissionMessageProvider implementation. // PermissionMessageProvider implementation.
virtual PermissionMessages GetPermissionMessages( virtual PermissionMessages GetPermissionMessages(
const PermissionSet* permissions, const PermissionSet* permissions,
Manifest::Type extension_type) const OVERRIDE; Manifest::Type extension_type) const override;
virtual std::vector<base::string16> GetWarningMessages( virtual std::vector<base::string16> GetWarningMessages(
const PermissionSet* permissions, const PermissionSet* permissions,
Manifest::Type extension_type) const OVERRIDE; Manifest::Type extension_type) const override;
virtual std::vector<base::string16> GetWarningMessagesDetails( virtual std::vector<base::string16> GetWarningMessagesDetails(
const PermissionSet* permissions, const PermissionSet* permissions,
Manifest::Type extension_type) const OVERRIDE; Manifest::Type extension_type) const override;
virtual bool IsPrivilegeIncrease( virtual bool IsPrivilegeIncrease(
const PermissionSet* old_permissions, const PermissionSet* old_permissions,
const PermissionSet* new_permissions, const PermissionSet* new_permissions,
Manifest::Type extension_type) const OVERRIDE; Manifest::Type extension_type) const override;
private: private:
// Gets the permission messages for the API permissions. // Gets the permission messages for the API permissions.
......
...@@ -12,7 +12,7 @@ namespace chrome { ...@@ -12,7 +12,7 @@ namespace chrome {
class ChromeContentPluginClient : public content::ContentPluginClient { class ChromeContentPluginClient : public content::ContentPluginClient {
public: public:
virtual void PreSandboxInitialization() OVERRIDE; virtual void PreSandboxInitialization() override;
}; };
} // namespace chrome } // namespace chrome
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment