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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy_unittest.cc

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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
Index: chrome/browser/extensions/extension_special_storage_policy_unittest.cc
diff --git a/chrome/browser/extensions/extension_special_storage_policy_unittest.cc b/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
index 09984c26b1c1359bd862e9ea83e2be2114515471..579a3962766ac042ad07f7772071d82ed4be8928 100644
--- a/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
+++ b/chrome/browser/extensions/extension_special_storage_policy_unittest.cc
@@ -36,7 +36,7 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
}
virtual void OnGranted(const GURL& origin,
- int change_flags) OVERRIDE {
+ int change_flags) override {
EXPECT_EQ(expected_type_, NOTIFICATION_TYPE_GRANT);
EXPECT_EQ(expected_origin_, origin);
EXPECT_EQ(expected_change_flags_, change_flags);
@@ -44,14 +44,14 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
}
virtual void OnRevoked(const GURL& origin,
- int change_flags) OVERRIDE {
+ int change_flags) override {
EXPECT_EQ(expected_type_, NOTIFICATION_TYPE_REVOKE);
EXPECT_EQ(expected_origin_, origin);
EXPECT_EQ(expected_change_flags_, change_flags);
expected_type_ = NOTIFICATION_TYPE_NONE;
}
- virtual void OnCleared() OVERRIDE {
+ virtual void OnCleared() override {
EXPECT_EQ(expected_type_, NOTIFICATION_TYPE_CLEAR);
expected_type_ = NOTIFICATION_TYPE_NONE;
}
@@ -92,7 +92,7 @@ class ExtensionSpecialStoragePolicyTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(PolicyChangeObserver);
};
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
policy_ = new ExtensionSpecialStoragePolicy(NULL);
}

Powered by Google App Engine
This is Rietveld 408576698