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

Unified Diff: chrome/common/chrome_process_filter.cc

Issue 57062: Use portable typedef for PIDs (process IDs). (Closed)
Patch Set: speculative fix for win Created 11 years, 9 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/common/chrome_process_filter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_process_filter.cc
diff --git a/chrome/common/chrome_process_filter.cc b/chrome/common/chrome_process_filter.cc
index 7632e44fc8da7e6f99c1dafbd163783fe1e9045b..2b12d2d00f07dcf8f3199d738b838a6ec3b7d0d6 100644
--- a/chrome/common/chrome_process_filter.cc
+++ b/chrome/common/chrome_process_filter.cc
@@ -28,8 +28,8 @@ BrowserProcessFilter::BrowserProcessFilter(const std::wstring user_data_dir)
GetWindowThreadProcessId(message_window, &browser_process_id_);
}
-bool BrowserProcessFilter::Includes(uint32 pid,
- uint32 parent_pid) const {
+bool BrowserProcessFilter::Includes(base::ProcessId pid,
+ base::ProcessId parent_pid) const {
return browser_process_id_ && (browser_process_id_ == pid ||
browser_process_id_ == parent_pid);
}
« no previous file with comments | « chrome/common/chrome_process_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698