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

Unified Diff: base/process/launch_win.cc

Issue 2053953002: Add chrome_crash_reporter_client_win.cc to the source file list for chrome_elf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 6 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/launch.h ('k') | base/strings/string_number_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process/launch_win.cc
diff --git a/base/process/launch_win.cc b/base/process/launch_win.cc
index 243d0a99b4b386dcf2dc460d783a2a01829564c1..97b59a5bfe45f5cf9d4b779446b46bd43795ba53 100644
--- a/base/process/launch_win.cc
+++ b/base/process/launch_win.cc
@@ -24,7 +24,6 @@
#include "base/process/kill.h"
#include "base/strings/utf_string_conversions.h"
#include "base/sys_info.h"
-#include "base/win/object_watcher.h"
#include "base/win/scoped_handle.h"
#include "base/win/scoped_process_information.h"
#include "base/win/startup_information.h"
@@ -147,12 +146,6 @@ void RouteStdioToConsole(bool create_console_if_not_found) {
// http://crbug.com/358267. Confirm that the underlying HANDLE is valid
// before aborting.
- // This causes NaCl tests to hang on XP for reasons unclear, perhaps due
- // to not being able to inherit handles. Since it's only for debugging,
- // and redirecting still works, punt for now.
- if (base::win::GetVersion() < base::win::VERSION_VISTA)
- return;
-
intptr_t stdout_handle = _get_osfhandle(_fileno(stdout));
intptr_t stderr_handle = _get_osfhandle(_fileno(stderr));
if (stdout_handle >= 0 || stderr_handle >= 0)
@@ -217,11 +210,6 @@ Process LaunchProcess(const string16& cmdline,
if (options.handles_to_inherit->empty()) {
inherit_handles = false;
} else {
- if (base::win::GetVersion() < base::win::VERSION_VISTA) {
- DLOG(ERROR) << "Specifying handles to inherit requires Vista or later.";
- return Process();
- }
-
if (options.handles_to_inherit->size() >
std::numeric_limits<DWORD>::max() / sizeof(HANDLE)) {
DLOG(ERROR) << "Too many handles to inherit.";
« no previous file with comments | « base/process/launch.h ('k') | base/strings/string_number_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698