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

Unified Diff: tools/gn/exec_process.h

Issue 646013003: GN: Capture and print stderr from exec_script (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ha, even better for diffing... using really low --similarity Created 6 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
Index: tools/gn/exec_process.h
diff --git a/base/critical_closure_internal_ios.mm b/tools/gn/exec_process.h
similarity index 46%
copy from base/critical_closure_internal_ios.mm
copy to tools/gn/exec_process.h
index b8fec141b2198e53c2b8e2d4826a1fba7edc0212..74622614819817c93f8003cb6c2c72a67641b5f8 100644
--- a/base/critical_closure_internal_ios.mm
+++ b/tools/gn/exec_process.h
@@ -2,16 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/critical_closure.h"
-
-#import <UIKit/UIKit.h>
+#include <string>
namespace base {
-namespace internal {
-
-bool IsMultiTaskingSupported() {
- return [[UIDevice currentDevice] isMultitaskingSupported];
+class CommandLine;
+class FilePath;
}
+namespace internal {
+bool ExecProcess(const base::CommandLine& cmdline,
+ const base::FilePath& startup_dir,
+ std::string* std_out,
+ std::string* std_err,
+ int* exit_code);
} // namespace internal
-} // namespace base
« no previous file with comments | « tools/gn/BUILD.gn ('k') | tools/gn/exec_process.cc » ('j') | tools/gn/exec_process.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698