summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:52:21 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:52:21 +0000
commit49fd7e2236c370b3affab9788fa5fc4c998729a1 (patch)
tree204eaa4196e3e9a6b173253a146b9104f0108da2 /chrome/browser/policy
parent0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (diff)
downloadchromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.zip
chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.gz
chromium_src-49fd7e2236c370b3affab9788fa5fc4c998729a1.tar.bz2
Add OVERRIDE to chrome/browser/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/policy')
-rw-r--r--chrome/browser/policy/asynchronous_policy_test_base.h2
-rw-r--r--chrome/browser/policy/configuration_policy_provider.h4
-rw-r--r--chrome/browser/policy/configuration_policy_provider_test.h4
-rw-r--r--chrome/browser/policy/device_management_backend_impl.h6
4 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/policy/asynchronous_policy_test_base.h b/chrome/browser/policy/asynchronous_policy_test_base.h
index 7771490..33f4c5d 100644
--- a/chrome/browser/policy/asynchronous_policy_test_base.h
+++ b/chrome/browser/policy/asynchronous_policy_test_base.h
@@ -34,7 +34,7 @@ class AsynchronousPolicyTestBase : public testing::Test {
virtual ~AsynchronousPolicyTestBase();
// testing::Test:
- virtual void TearDown();
+ virtual void TearDown() OVERRIDE;
protected:
// Create an actual IO loop (needed by FilePathWatcher).
diff --git a/chrome/browser/policy/configuration_policy_provider.h b/chrome/browser/policy/configuration_policy_provider.h
index efe93cd..5a52ff0 100644
--- a/chrome/browser/policy/configuration_policy_provider.h
+++ b/chrome/browser/policy/configuration_policy_provider.h
@@ -100,8 +100,8 @@ class ConfigurationPolicyObserverRegistrar
ConfigurationPolicyProvider::Observer* observer);
// ConfigurationPolicyProvider::Observer implementation:
- virtual void OnUpdatePolicy();
- virtual void OnProviderGoingAway();
+ virtual void OnUpdatePolicy() OVERRIDE;
+ virtual void OnProviderGoingAway() OVERRIDE;
ConfigurationPolicyProvider* provider() { return provider_; }
diff --git a/chrome/browser/policy/configuration_policy_provider_test.h b/chrome/browser/policy/configuration_policy_provider_test.h
index 90b36f0..45f1165 100644
--- a/chrome/browser/policy/configuration_policy_provider_test.h
+++ b/chrome/browser/policy/configuration_policy_provider_test.h
@@ -90,8 +90,8 @@ class ConfigurationPolicyProviderTest
ConfigurationPolicyProviderTest();
virtual ~ConfigurationPolicyProviderTest();
- virtual void SetUp();
- virtual void TearDown();
+ virtual void SetUp() OVERRIDE;
+ virtual void TearDown() OVERRIDE;
// Installs a valid policy and checks whether the provider returns the
// |expected_value|.
diff --git a/chrome/browser/policy/device_management_backend_impl.h b/chrome/browser/policy/device_management_backend_impl.h
index 4354c98..ff4f3ff 100644
--- a/chrome/browser/policy/device_management_backend_impl.h
+++ b/chrome/browser/policy/device_management_backend_impl.h
@@ -64,18 +64,18 @@ class DeviceManagementBackendImpl : public DeviceManagementBackend {
const std::string& oauth_token,
const std::string& device_id,
const em::DeviceRegisterRequest& request,
- DeviceRegisterResponseDelegate* response_delegate);
+ DeviceRegisterResponseDelegate* response_delegate) OVERRIDE;
virtual void ProcessUnregisterRequest(
const std::string& device_management_token,
const std::string& device_id,
const em::DeviceUnregisterRequest& request,
- DeviceUnregisterResponseDelegate* response_delegate);
+ DeviceUnregisterResponseDelegate* response_delegate) OVERRIDE;
virtual void ProcessPolicyRequest(
const std::string& device_management_token,
const std::string& device_id,
CloudPolicyDataStore::UserAffiliation affiliation,
const em::DevicePolicyRequest& request,
- DevicePolicyResponseDelegate* response_delegate);
+ DevicePolicyResponseDelegate* response_delegate) OVERRIDE;
// Converts a user affiliation to the appropriate query parameter value.
static const char* UserAffiliationToString(