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

Unified Diff: subprocess.h

Issue 3398011: AU: Mix stdout and stderr together in the logs. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | subprocess.cc » ('j') | subprocess.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: subprocess.h
diff --git a/subprocess.h b/subprocess.h
index 6685f4d669f7eccbd1bc22608227e69ecd1c7cfe..8f97c5d2b8be5a8938b946908e7d66fe2c80edac 100644
--- a/subprocess.h
+++ b/subprocess.h
@@ -63,6 +63,10 @@ class Subprocess {
// requested callback.
static void GChildExitedCallback(GPid pid, gint status, gpointer data);
+ // Callback which runs in the child before exec to redirect stderr onto
+ // stdout.
+ static void GRedirectStderrToStdout(gpointer user_data);
+
struct SubprocessCallbackRecord {
ExecCallback callback;
void* callback_data;
« no previous file with comments | « no previous file | subprocess.cc » ('j') | subprocess.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698