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

Unified Diff: chrome/common/child_process_info.h

Issue 42366: Fix single-process ui test failures from my previous change. The problem was... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/child_process_info.h
===================================================================
--- chrome/common/child_process_info.h (revision 12019)
+++ chrome/common/child_process_info.h (working copy)
@@ -30,7 +30,7 @@
// Getter to the process handle.
base::ProcessHandle handle() const { return process_.handle(); }
- int pid() const {
+ virtual int GetProcessId() const {
if (pid_ != -1)
return pid_;
@@ -95,8 +95,6 @@
ChildProcessInfo(ProcessType type);
private:
- friend class ResourceDispatcherHostTest;
-
ProcessType type_;
std::wstring name_;
mutable int pid_; // Cache of the process id.
« no previous file with comments | « chrome/browser/task_manager_resource_providers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698