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

Side by Side Diff: experimental/windows_debugger/debugger/base/debug_utils.h

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
OLDNEW
(Empty)
1 #pragma once
2 #include <string>
3 #include <windows.h>
4 #include <Psapi.h>
5 #include <Winternl.h>
6 #include <Tlhelp32.h>
7
8 namespace debug {
9 class Utils {
10 public:
11 static bool GetProcessName(int pid, std::string* name);
12 static bool GetProcessName(HANDLE ProcessHandle, std::string* name);
13 static bool GetProcessCmdLine(HANDLE ProcessHandle, std::string* cmd_line);
14 static int GetProcessorWordSizeInBits(HANDLE h);
15 static std::string ReadUNICODE_STRING(HANDLE ProcessHandle, const UNICODE_STRI NG& str);
16 static bool ReadUnucodeStr(HANDLE ProcessHandle, const void* addr, std::string * str);
17 };
18 } // namespace debug
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698