Home
last modified time | relevance | path

Searched refs:process_handle_ (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/browser/
Dprocess_singleton_browsertest.cc42 process_handle_(base::kNullProcessHandle), in ChromeStarter()
53 if (process_handle_ != base::kNullProcessHandle) in Reset()
54 base::CloseProcessHandle(process_handle_); in Reset()
55 process_handle_ = base::kNullProcessHandle; in Reset()
98 base::LaunchProcess(command_line, base::LaunchOptions(), &process_handle_); in StartChrome()
99 ASSERT_NE(base::kNullProcessHandle, process_handle_); in StartChrome()
104 process_terminated_ = base::WaitForSingleProcess(process_handle_, in StartChrome()
113 base::ProcessHandle process_handle_; member in __anon29a86d1d0111::ChromeStarter
120 if (process_handle_ != base::kNullProcessHandle) in ~ChromeStarter()
121 base::CloseProcessHandle(process_handle_); in ~ChromeStarter()
[all …]
/external/chromium/chrome/browser/
Dprocess_singleton_uitest.cc42 process_handle_(base::kNullProcessHandle), in ChromeStarter()
53 if (process_handle_ != base::kNullProcessHandle) in Reset()
54 base::CloseProcessHandle(process_handle_); in Reset()
55 process_handle_ = base::kNullProcessHandle; in Reset()
101 false /* hidden */, &process_handle_); in StartChrome()
102 ASSERT_NE(base::kNullProcessHandle, process_handle_); in StartChrome()
107 process_terminated_ = base::WaitForSingleProcess(process_handle_, in StartChrome()
116 base::ProcessHandle process_handle_; member in __anonce0042900111::ChromeStarter
123 if (process_handle_ != base::kNullProcessHandle) in ~ChromeStarter()
124 base::CloseProcessHandle(process_handle_); in ~ChromeStarter()
[all …]
/external/chromium_org/base/win/
Dscoped_process_information.cc49 return process_id_ || process_handle_.Get() || in IsValid()
54 process_handle_.Close(); in Close()
64 process_handle_.Set(process_info.hProcess); in Set()
75 if (CheckAndDuplicateHandle(other.process_handle(), &process_handle_) && in DuplicateFrom()
87 process_information.hProcess = process_handle_.Take(); in Take()
99 return process_handle_.Take(); in TakeProcessHandle()
Dscoped_process_information.h53 return process_handle_.Get(); in process_handle()
72 ScopedHandle process_handle_;
/external/chromium_org/chrome/browser/performance_monitor/
Dprocess_metrics_history.cc21 : process_handle_(0), in ProcessMetricsHistory()
40 DCHECK(process_handle_ == 0); in Initialize()
41 process_handle_ = process_handle; in Initialize()
47 process_handle_, content::BrowserChildProcessHost::GetPortProvider())); in Initialize()
50 base::ProcessMetrics::CreateProcessMetrics(process_handle_)); in Initialize()
Dprocess_metrics_history.h58 base::ProcessHandle process_handle_; variable
/external/chromium_org/net/test/spawned_test_server/
Dlocal_test_server.cc124 if (!process_handle_) in Stop()
133 bool ret = base::WaitForSingleProcess(process_handle_, base::TimeDelta()); in Stop()
135 ret = base::KillProcess(process_handle_, 1, true); in Stop()
139 base::CloseProcessHandle(process_handle_); in Stop()
140 process_handle_ = base::kNullProcessHandle; in Stop()
157 process_handle_ = base::kNullProcessHandle; in Init()
Dlocal_test_server.h93 base::ProcessHandle process_handle_; variable
Dlocal_test_server_posix.cc142 if (!base::LaunchProcess(python_command, options, &process_handle_)) { in LaunchPython()
Dlocal_test_server_win.cc196 if (!base::LaunchProcess(python_command, launch_options, &process_handle_)) { in LaunchPython()
/external/chromium_org/chrome_frame/test/
Dwin_event_receiver.cc94 HANDLE process_handle_; member in WindowWatchdog::ProcessExitObserver
106 process_handle_(NULL), in ProcessExitObserver()
112 process_handle_ = ::OpenProcess(SYNCHRONIZE, FALSE, pid); in ProcessExitObserver()
115 if (process_handle_ != NULL) { in ProcessExitObserver()
116 object_watcher_.StartWatching(process_handle_, this); in ProcessExitObserver()
126 if (process_handle_ != NULL) { in ~ProcessExitObserver()
127 ::CloseHandle(process_handle_); in ~ProcessExitObserver()
/external/chromium_org/chrome/browser/service_process/
Dservice_process_control.cc334 process_handle_(base::kNullProcessHandle) { in Launcher()
359 if (process_handle_ != base::kNullProcessHandle) { in CloseProcessHandle()
360 base::CloseProcessHandle(process_handle_); in CloseProcessHandle()
361 process_handle_ = base::kNullProcessHandle; in CloseProcessHandle()
374 base::WaitForExitCodeWithTimeout(process_handle_, &exit_code, in DoDetectLaunched()
397 if (base::LaunchProcess(*cmd_line_, options, &process_handle_)) { in DoRun()
Dservice_process_control.h159 base::ProcessHandle process_handle_; variable
/external/chromium_org/chrome/browser/extensions/api/messaging/
Dnative_message_process_host.cc64 process_handle_(base::kNullProcessHandle), in NativeMessageProcessHost()
144 process_handle_ = process_handle; in OnHostProcessLaunched()
356 if (process_handle_ != base::kNullProcessHandle) { in Close()
362 FROM_HERE, base::Bind(&base::EnsureProcessTerminated, process_handle_)); in Close()
364 base::EnsureProcessTerminated(process_handle_); in Close()
366 process_handle_ = base::kNullProcessHandle; in Close()
Dnative_message_process_host.h135 base::ProcessHandle process_handle_; variable
/external/chromium/net/test/
Dtest_server.cc144 if (!process_handle_) in Stop()
150 bool ret = base::WaitForSingleProcess(process_handle_, 0); in Stop()
152 ret = base::KillProcess(process_handle_, 1, true); in Stop()
155 base::CloseProcessHandle(process_handle_); in Stop()
156 process_handle_ = base::kNullProcessHandle; in Stop()
266 process_handle_ = base::kNullProcessHandle; in Init()
Dtest_server.h175 base::ProcessHandle process_handle_; variable
Dtest_server_posix.cc127 &process_handle_)) { in LaunchPython()
Dtest_server_win.cc185 &process_handle_, in LaunchPython()
/external/chromium_org/chrome/browser/task_manager/
Dnotification_resource_provider.cc50 base::ProcessHandle process_handle_; member in task_manager::NotificationResource
66 process_handle_ = in NotificationResource()
70 pid_ = base::GetProcId(process_handle_); in NotificationResource()
91 return process_handle_; in GetProcess()
Dextension_process_resource_provider.cc70 base::ProcessHandle process_handle_; member in task_manager::ExtensionProcessResource
87 process_handle_ = render_view_host_->GetProcess()->GetHandle(); in ExtensionProcessResource()
89 pid_ = base::GetProcId(process_handle_); in ExtensionProcessResource()
123 return process_handle_; in GetProcess()
/external/chromium_org/chrome/test/base/
Dchrome_process_util_mac.cc100 GetMemoryValuesHack(process_handle_, &virtual_size, &working_set_size); in GetPagefileUsage()
107 GetMemoryValuesHack(process_handle_, &virtual_size, &working_set_size); in GetWorkingSetSize()
Dchrome_process_util.h52 base::ProcessHandle process_handle_; variable
/external/chromium/chrome/browser/task_manager/
Dtask_manager_resource_providers.cc1142 process_handle_ = extension_host_->render_process_host()->GetHandle(); in TaskManagerExtensionProcessResource()
1143 pid_ = base::GetProcId(process_handle_); in TaskManagerExtensionProcessResource()
1164 return process_handle_; in GetProcess()
1344 process_handle_ = balloon_host_->render_view_host()->process()->GetHandle(); in TaskManagerNotificationResource()
1345 pid_ = base::GetProcId(process_handle_); in TaskManagerNotificationResource()
1362 return process_handle_; in GetProcess()
Dtask_manager_resource_providers.h379 base::ProcessHandle process_handle_; variable
448 base::ProcessHandle process_handle_; variable

12