diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 06:24:27 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-07 06:24:27 +0000 |
commit | 8020c930dc95dbe04920a12daf6eb21e5d7a4f20 (patch) | |
tree | 02170b808f214073547cdd345be3c78fb81eed9f /chrome/browser | |
parent | e795f46bc88b0bd04a27a30505e83522fde1b1ff (diff) | |
download | chromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.zip chromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.tar.gz chromium_src-8020c930dc95dbe04920a12daf6eb21e5d7a4f20.tar.bz2 |
Enable Clang warnings in .cc files for Linux+[Aura/ChromeOS]
BUG=115047
R=darin
Review URL: https://chromiumcodereview.appspot.com/14890005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
6 files changed, 10 insertions, 10 deletions
diff --git a/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc b/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc index 258a91e..c4eb1bb 100644 --- a/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc +++ b/chrome/browser/chromeos/policy/variations_service_policy_browsertest.cc @@ -17,7 +17,7 @@ class VariationsServiceDevicePolicyTest : public DevicePolicyCrosBrowserTest { protected: VariationsServiceDevicePolicyTest() {} - void SetUpInProcessBrowserTestFixture() OVERRIDE { + virtual void SetUpInProcessBrowserTestFixture() OVERRIDE { DevicePolicyCrosBrowserTest::SetUpInProcessBrowserTestFixture(); InstallOwnerKey(); diff --git a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc index c15301c0..025e1fa 100644 --- a/chrome/browser/chromeos/system/ash_system_tray_delegate.cc +++ b/chrome/browser/chromeos/system/ash_system_tray_delegate.cc @@ -1402,18 +1402,18 @@ class SystemTrayDelegate : public ash::SystemTrayDelegate, } // drive::JobListObserver overrides. - virtual void OnJobAdded(const drive::JobInfo& job_info) { + virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE { OnJobUpdated(job_info); } virtual void OnJobDone(const drive::JobInfo& job_info, - drive::FileError error) { + drive::FileError error) OVERRIDE { ash::DriveOperationStatus status; if (ConvertToFinishedDriveOperationStatus(job_info, error, &status)) GetSystemTrayNotifier()->NotifyDriveJobUpdated(status); } - virtual void OnJobUpdated(const drive::JobInfo& job_info) { + virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE { ash::DriveOperationStatus status; if (ConvertToDriveOperationStatus(job_info, &status)) GetSystemTrayNotifier()->NotifyDriveJobUpdated(status); diff --git a/chrome/browser/chromeos/system/statistics_provider.cc b/chrome/browser/chromeos/system/statistics_provider.cc index 3a912d6a..a0544a5 100644 --- a/chrome/browser/chromeos/system/statistics_provider.cc +++ b/chrome/browser/chromeos/system/statistics_provider.cc @@ -293,7 +293,7 @@ class StatisticsProviderStubImpl : public StatisticsProviderImpl { return false; } - virtual void LoadOemManifest() { + virtual void LoadOemManifest() OVERRIDE { CommandLine* command_line = CommandLine::ForCurrentProcess(); if (!command_line->HasSwitch(switches::kAppOemManifestFile)) return; diff --git a/chrome/browser/extensions/notifications_apitest.cc b/chrome/browser/extensions/notifications_apitest.cc index b768856..a1a8b39 100644 --- a/chrome/browser/extensions/notifications_apitest.cc +++ b/chrome/browser/extensions/notifications_apitest.cc @@ -38,7 +38,7 @@ class DisabledRichWebkitNotificationTest : public ExtensionApiTest { class NotificationIdleTest : public RichWebkitNotificationTest { protected: - virtual void SetUpCommandLine(CommandLine* command_line) { + virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { RichWebkitNotificationTest::SetUpCommandLine(command_line); command_line->AppendSwitchASCII(switches::kEventPageIdleTime, "1"); diff --git a/chrome/browser/extensions/platform_app_browsertest.cc b/chrome/browser/extensions/platform_app_browsertest.cc index 29a98c9..642f948 100644 --- a/chrome/browser/extensions/platform_app_browsertest.cc +++ b/chrome/browser/extensions/platform_app_browsertest.cc @@ -936,11 +936,11 @@ class PlatformAppIncognitoBrowserTest : public PlatformAppBrowserTest, } // ShellWindowRegistry::Observer implementation. - virtual void OnShellWindowAdded(ShellWindow* shell_window) { + virtual void OnShellWindowAdded(ShellWindow* shell_window) OVERRIDE { opener_app_ids_.insert(shell_window->extension()->id()); } - virtual void OnShellWindowIconChanged(ShellWindow* shell_window) {} - virtual void OnShellWindowRemoved(ShellWindow* shell_window) {} + virtual void OnShellWindowIconChanged(ShellWindow* shell_window) OVERRIDE {} + virtual void OnShellWindowRemoved(ShellWindow* shell_window) OVERRIDE {} protected: // A set of ids of apps we've seen open a shell window. diff --git a/chrome/browser/storage_monitor/storage_monitor_chromeos_unittest.cc b/chrome/browser/storage_monitor/storage_monitor_chromeos_unittest.cc index 122cd00..f999ad7 100644 --- a/chrome/browser/storage_monitor/storage_monitor_chromeos_unittest.cc +++ b/chrome/browser/storage_monitor/storage_monitor_chromeos_unittest.cc @@ -65,7 +65,7 @@ class TestStorageMonitorCros : public StorageMonitorCros { virtual ~TestStorageMonitorCros() {} - void Init() { + virtual void Init() OVERRIDE { SetMediaTransferProtocolManagerForTest( new chrome::TestMediaTransferProtocolManagerLinux()); StorageMonitorCros::Init(); |