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

Unified Diff: base/process_util_win.cc

Issue 3945002: Move debug-related stuff from base to the base/debug directory and use the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « base/process_util_posix.cc ('k') | base/test/perf_test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_win.cc
===================================================================
--- base/process_util_win.cc (revision 63176)
+++ base/process_util_win.cc (working copy)
@@ -13,7 +13,7 @@
#include <ios>
#include "base/command_line.h"
-#include "base/debug_util.h"
+#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
#include "base/scoped_ptr.h"
@@ -40,7 +40,7 @@
// Prints the exception call stack.
// This is the unit tests exception filter.
long WINAPI StackDumpExceptionFilter(EXCEPTION_POINTERS* info) {
- StackTrace(info).PrintBacktrace();
+ debug::StackTrace(info).PrintBacktrace();
if (g_previous_filter)
return g_previous_filter(info);
return EXCEPTION_CONTINUE_SEARCH;
@@ -155,7 +155,7 @@
if (!level)
return false;
- if (base::win::GetVersion() < base::win::VERSION_VISTA)
+ if (win::GetVersion() < base::win::VERSION_VISTA)
return false;
HANDLE process_token;
@@ -163,7 +163,7 @@
&process_token))
return false;
- base::win::ScopedHandle scoped_process_token(process_token);
+ win::ScopedHandle scoped_process_token(process_token);
DWORD token_info_length = 0;
if (GetTokenInformation(process_token, TokenIntegrityLevel, NULL, 0,
@@ -326,8 +326,8 @@
}
// Ensure we don't leak the handles.
- base::win::ScopedHandle scoped_out_read(out_read);
- base::win::ScopedHandle scoped_out_write(out_write);
+ win::ScopedHandle scoped_out_read(out_read);
+ win::ScopedHandle scoped_out_write(out_write);
// Ensure the read handle to the pipe for STDOUT is not inherited.
if (!SetHandleInformation(out_read, HANDLE_FLAG_INHERIT, 0)) {
« no previous file with comments | « base/process_util_posix.cc ('k') | base/test/perf_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698