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

Unified Diff: chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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/ui/website_settings/permission_bubble_manager_unittest.cc
diff --git a/chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc b/chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc
index 34f2ced144b91080517ce35fa648bb5654899098..71b83c6436e421df73f1161b9a43beea59ac9a89 100644
--- a/chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc
+++ b/chrome/browser/ui/website_settings/permission_bubble_manager_unittest.cc
@@ -29,28 +29,28 @@ class MockView : public PermissionBubbleView {
}
// PermissionBubbleView:
- virtual void SetDelegate(Delegate* delegate) OVERRIDE {
+ virtual void SetDelegate(Delegate* delegate) override {
delegate_ = delegate;
}
virtual void Show(
const std::vector<PermissionBubbleRequest*>& requests,
const std::vector<bool>& accept_state,
- bool customization_state_) OVERRIDE {
+ bool customization_state_) override {
shown_ = true;
permission_requests_ = requests;
permission_states_ = accept_state;
}
- virtual void Hide() OVERRIDE {
+ virtual void Hide() override {
shown_ = false;
}
- virtual bool CanAcceptRequestUpdate() OVERRIDE {
+ virtual bool CanAcceptRequestUpdate() override {
return can_accept_updates_;
}
- virtual bool IsVisible() OVERRIDE {
+ virtual bool IsVisible() override {
return shown_;
}
@@ -75,7 +75,7 @@ class PermissionBubbleManagerTest : public ChromeRenderViewHostTestHarness {
GURL("http://www.youtube.com")) {}
virtual ~PermissionBubbleManagerTest() {}
- virtual void SetUp() OVERRIDE {
+ virtual void SetUp() override {
ChromeRenderViewHostTestHarness::SetUp();
SetContents(CreateTestWebContents());
NavigateAndCommit(GURL("http://www.google.com"));
@@ -83,7 +83,7 @@ class PermissionBubbleManagerTest : public ChromeRenderViewHostTestHarness {
manager_.reset(new PermissionBubbleManager(web_contents()));
}
- virtual void TearDown() OVERRIDE {
+ virtual void TearDown() override {
manager_.reset();
ChromeRenderViewHostTestHarness::TearDown();
}

Powered by Google App Engine
This is Rietveld 408576698