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

Unified Diff: chrome/installer/util/advanced_firewall_manager_win_unittest.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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/installer/setup/setup_util_unittest.cc ('k') | chrome/installer/util/callback_work_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/advanced_firewall_manager_win_unittest.cc
diff --git a/chrome/installer/util/advanced_firewall_manager_win_unittest.cc b/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
index 5920ea2d3c3afc200b7f4736108d8e9d35e430ce..08037f7af7239b1bb300cb8f0eee69f96f7bd815 100644
--- a/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
+++ b/chrome/installer/util/advanced_firewall_manager_win_unittest.cc
@@ -17,11 +17,11 @@ class AdvancedFirewallManagerTest : public ::testing::Test {
protected:
// Sets up the test fixture.
- virtual void SetUp() override {
+ void SetUp() override {
if (base::GetCurrentProcessIntegrityLevel() != base::HIGH_INTEGRITY) {
LOG(WARNING) << "XP or not elevated. Skipping the test.";
return;
- };
+ }
skip_test_ = false;
base::FilePath exe_path;
PathService::Get(base::FILE_EXE, &exe_path);
@@ -30,7 +30,7 @@ class AdvancedFirewallManagerTest : public ::testing::Test {
}
// Tears down the test fixture.
- virtual void TearDown() override {
+ void TearDown() override {
if (!skip_test_)
manager_.DeleteAllRules();
}
« no previous file with comments | « chrome/installer/setup/setup_util_unittest.cc ('k') | chrome/installer/util/callback_work_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698