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

Side by Side Diff: chrome/test/base/chrome_process_util.h

Issue 19860007: Update include paths in chrome/test for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/base/chrome_process_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_ 5 #ifndef CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_
6 #define CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_ 6 #define CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/process_util.h" 11 #include "base/process/process_handle.h"
12 #include "base/process/process_metrics.h"
12 13
13 typedef std::vector<base::ProcessId> ChromeProcessList; 14 typedef std::vector<base::ProcessId> ChromeProcessList;
14 15
15 // Returns a vector of PIDs of all chrome processes (main and renderers etc) 16 // Returns a vector of PIDs of all chrome processes (main and renderers etc)
16 // based on |browser_pid|, the PID of the main browser process. 17 // based on |browser_pid|, the PID of the main browser process.
17 ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid); 18 ChromeProcessList GetRunningChromeProcesses(base::ProcessId browser_pid);
18 19
19 // Attempts to terminate all chrome processes in |process_list|. 20 // Attempts to terminate all chrome processes in |process_list|.
20 void TerminateAllChromeProcesses(const ChromeProcessList& process_list); 21 void TerminateAllChromeProcesses(const ChromeProcessList& process_list);
21 22
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 80
80 typedef std::vector<MacChromeProcessInfo> MacChromeProcessInfoList; 81 typedef std::vector<MacChromeProcessInfo> MacChromeProcessInfoList;
81 82
82 // Any ProcessId that info can't be found for will be left out. 83 // Any ProcessId that info can't be found for will be left out.
83 MacChromeProcessInfoList GetRunningMacProcessInfo( 84 MacChromeProcessInfoList GetRunningMacProcessInfo(
84 const ChromeProcessList& process_list); 85 const ChromeProcessList& process_list);
85 86
86 #endif // defined(OS_MACOSX) 87 #endif // defined(OS_MACOSX)
87 88
88 #endif // CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_ 89 #endif // CHROME_TEST_BASE_CHROME_PROCESS_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/proxy_launcher.cc ('k') | chrome/test/base/chrome_process_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698