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

Unified Diff: base/process_util.h

Issue 9121046: Cleanup in ProcessSingleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | « no previous file | base/process_util_win.cc » ('j') | base/process_util_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util.h
diff --git a/base/process_util.h b/base/process_util.h
index bd138982afb60f17fae6a024161fc02906061629..1303ef0307f1fd82511568ff1f997f3d657cde0a 100644
--- a/base/process_util.h
+++ b/base/process_util.h
@@ -140,6 +140,11 @@ BASE_EXPORT ProcessId GetCurrentProcId();
// Returns the ProcessHandle of the current process.
BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
+#if defined(OS_WIN)
+// @returns the module handle to which an address belongs.
Evan Martin 2012/01/27 16:17:41 I think we don't use any javadoc-style extraction
Jói 2012/02/10 09:11:57 Done.
+BASE_EXPORT HMODULE GetModuleFromAddress(void* address);
+#endif
+
// Converts a PID to a process handle. This handle must be closed by
// CloseProcessHandle when you are done with it. Returns true on success.
BASE_EXPORT bool OpenProcessHandle(ProcessId pid, ProcessHandle* handle);
« no previous file with comments | « no previous file | base/process_util_win.cc » ('j') | base/process_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698