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

Unified Diff: chromecast/base/process_utils.cc

Issue 1160373004: Move safe_strerror to posix directory and the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 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 | « chrome/browser/ui/webui/options/certificate_manager_handler.cc ('k') | media/midi/midi_manager_alsa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/base/process_utils.cc
diff --git a/chromecast/base/process_utils.cc b/chromecast/base/process_utils.cc
index 901d53d764d9edcadbf1dcaae7aa1b23cfe2d3c4..523fb1c697f0781667e17b51d450223a2833b4c5 100644
--- a/chromecast/base/process_utils.cc
+++ b/chromecast/base/process_utils.cc
@@ -8,7 +8,7 @@
#include <stdio.h>
#include "base/logging.h"
-#include "base/safe_strerror_posix.h"
+#include "base/posix/safe_strerror.h"
#include "base/strings/string_util.h"
namespace chromecast {
@@ -22,7 +22,8 @@ bool GetAppOutput(const std::vector<std::string>& argv, std::string* output) {
// Open the process.
FILE* fp = popen(command.c_str(), "r");
if (!fp) {
- LOG(ERROR) << "popen (" << command << ") failed: " << safe_strerror(errno);
+ LOG(ERROR) << "popen (" << command << ") failed: "
+ << base::safe_strerror(errno);
return false;
}
« no previous file with comments | « chrome/browser/ui/webui/options/certificate_manager_handler.cc ('k') | media/midi/midi_manager_alsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698