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

Unified Diff: chrome/browser/process_singleton_win_uitest.cc

Issue 1689012: Move common code into process_util.cc (Closed)
Patch Set: More fixes Created 10 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/browser/memory_details_win.cc ('k') | chrome/test/chrome_process_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_win_uitest.cc
diff --git a/chrome/browser/process_singleton_win_uitest.cc b/chrome/browser/process_singleton_win_uitest.cc
index 929e271b23e081618178c93bdcfa1998dda8e1e8..bc783a6076f501af25cd56f4f6838b0582ad46f0 100644
--- a/chrome/browser/process_singleton_win_uitest.cc
+++ b/chrome/browser/process_singleton_win_uitest.cc
@@ -139,10 +139,9 @@ class ProcessSingletonWinTest : public UITest {
explicit ProcessTreeFilter(base::ProcessId parent_pid) {
ancestor_pids_.insert(parent_pid);
}
- virtual bool Includes(base::ProcessId pid,
- base::ProcessId parent_pid) const {
- if (ancestor_pids_.find(parent_pid) != ancestor_pids_.end()) {
- ancestor_pids_.insert(pid);
+ virtual bool Includes(const base::ProcessEntry & entry) const {
+ if (ancestor_pids_.find(entry.parent_pid()) != ancestor_pids_.end()) {
+ ancestor_pids_.insert(entry.pid());
return true;
} else {
return false;
« no previous file with comments | « chrome/browser/memory_details_win.cc ('k') | chrome/test/chrome_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698