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

Unified Diff: chrome/installer/setup/install_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
Index: chrome/installer/setup/install_unittest.cc
diff --git a/chrome/installer/setup/install_unittest.cc b/chrome/installer/setup/install_unittest.cc
index 5c3f32c892efbebafa47bcafd7d4886fdc4e6880..d011f7e859d0df3cd834d307f3674fe16a2c402c 100644
--- a/chrome/installer/setup/install_unittest.cc
+++ b/chrome/installer/setup/install_unittest.cc
@@ -33,7 +33,7 @@ namespace {
class CreateVisualElementsManifestTest : public testing::Test {
protected:
- virtual void SetUp() override {
+ void SetUp() override {
// Create a temp directory for testing.
ASSERT_TRUE(test_dir_.CreateUniqueTempDir());
@@ -46,7 +46,7 @@ class CreateVisualElementsManifestTest : public testing::Test {
test_dir_.path().Append(installer::kVisualElementsManifest);
}
- virtual void TearDown() override {
+ void TearDown() override {
// Clean up test directory manually so we can fail if it leaks.
ASSERT_TRUE(test_dir_.Delete());
}
@@ -66,7 +66,7 @@ class CreateVisualElementsManifestTest : public testing::Test {
class InstallShortcutTest : public testing::Test {
protected:
- virtual void SetUp() override {
+ void SetUp() override {
EXPECT_EQ(S_OK, CoInitialize(NULL));
dist_ = BrowserDistribution::GetDistribution();
@@ -139,7 +139,7 @@ class InstallShortcutTest : public testing::Test {
fake_user_desktop_.path().Append(alternate_shortcut_name);
}
- virtual void TearDown() override {
+ void TearDown() override {
// Try to unpin potentially pinned shortcuts (although pinning isn't tested,
// the call itself might still have pinned the Start Menu shortcuts).
base::win::TaskbarUnpinShortcutLink(
« no previous file with comments | « chrome/installer/setup/archive_patch_helper_unittest.cc ('k') | chrome/installer/setup/install_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698