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

Unified Diff: chrome/browser/policy/url_blacklist_manager_unittest.cc

Issue 660123003: Standardize usage of virtual/override/final in chrome/browser/policy/ (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
« no previous file with comments | « chrome/browser/policy/test/local_policy_test_server.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/url_blacklist_manager_unittest.cc
diff --git a/chrome/browser/policy/url_blacklist_manager_unittest.cc b/chrome/browser/policy/url_blacklist_manager_unittest.cc
index 3d521b68e8764ec23b6771e9c2dd0b682e407b1a..83d73240c1ea526d35504ca76cee060acf8c5a64 100644
--- a/chrome/browser/policy/url_blacklist_manager_unittest.cc
+++ b/chrome/browser/policy/url_blacklist_manager_unittest.cc
@@ -51,8 +51,7 @@ class TestingURLBlacklistManager : public URLBlacklistManager {
update_called_(0),
set_blacklist_called_(false) {}
- virtual ~TestingURLBlacklistManager() {
- }
+ ~TestingURLBlacklistManager() override {}
// Make this method public for testing.
using URLBlacklistManager::ScheduleUpdate;
@@ -66,12 +65,12 @@ class TestingURLBlacklistManager : public URLBlacklistManager {
}
// URLBlacklistManager overrides:
- virtual void SetBlacklist(scoped_ptr<URLBlacklist> blacklist) override {
+ void SetBlacklist(scoped_ptr<URLBlacklist> blacklist) override {
set_blacklist_called_ = true;
URLBlacklistManager::SetBlacklist(blacklist.Pass());
}
- virtual void Update() override {
+ void Update() override {
update_called_++;
URLBlacklistManager::Update();
}
« no previous file with comments | « chrome/browser/policy/test/local_policy_test_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698