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

Unified Diff: chrome/browser/process_singleton_browsertest.cc

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad indent 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/printing/print_preview_test.h ('k') | chrome/browser/process_singleton_posix_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_browsertest.cc
diff --git a/chrome/browser/process_singleton_browsertest.cc b/chrome/browser/process_singleton_browsertest.cc
index 4a682a239a88d29cac923a371a47f814b76e6440..16262f75833a0a07e0fb114a5c64ed35fb8bfb0a 100644
--- a/chrome/browser/process_singleton_browsertest.cc
+++ b/chrome/browser/process_singleton_browsertest.cc
@@ -139,7 +139,7 @@ class ProcessSingletonTest : public InProcessBrowserTest {
EXPECT_TRUE(temp_profile_dir_.CreateUniqueTempDir());
}
- virtual void SetUp() {
+ void SetUp() override {
// Start the threads and create the starters.
for (size_t i = 0; i < kNbThreads; ++i) {
chrome_starter_threads_[i].reset(new base::Thread("ChromeStarter"));
@@ -149,7 +149,7 @@ class ProcessSingletonTest : public InProcessBrowserTest {
}
}
- virtual void TearDown() {
+ void TearDown() override {
// Stop the threads.
for (size_t i = 0; i < kNbThreads; ++i)
chrome_starter_threads_[i]->Stop();
@@ -169,7 +169,7 @@ class ProcessSingletonTest : public InProcessBrowserTest {
explicit ProcessTreeFilter(base::ProcessId parent_pid) {
ancestor_pids_.insert(parent_pid);
}
- virtual bool Includes(const base::ProcessEntry & entry) const override {
+ bool Includes(const base::ProcessEntry& entry) const override {
if (ancestor_pids_.find(entry.parent_pid()) != ancestor_pids_.end()) {
ancestor_pids_.insert(entry.pid());
return true;
« no previous file with comments | « chrome/browser/printing/print_preview_test.h ('k') | chrome/browser/process_singleton_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698