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

Unified Diff: content/browser/mach_broker_mac.cc

Issue 7633055: base: Fix the TODO in string_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome_mini_installer.cc Created 9 years, 4 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 | « content/browser/geolocation/gateway_data_provider_win.cc ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/mach_broker_mac.cc
diff --git a/content/browser/mach_broker_mac.cc b/content/browser/mach_broker_mac.cc
index bf579617c819ce245d6933dca48fc123d660078e..86d1fcfd5e55346996a9eed45f7645a8c7ad2eab 100644
--- a/content/browser/mach_broker_mac.cc
+++ b/content/browser/mach_broker_mac.cc
@@ -9,6 +9,7 @@
#include "base/mac/foundation_util.h"
#include "base/mach_ipc_mac.h"
#include "base/string_util.h"
+#include "base/stringprintf.h"
#include "base/sys_string_conversions.h"
#include "base/threading/platform_thread.h"
#include "content/browser/browser_thread.h"
@@ -20,7 +21,7 @@
namespace {
// Prints a string representation of a Mach error code.
std::string MachErrorCode(kern_return_t err) {
- return StringPrintf("0x%x %s", err, mach_error_string(err));
+ return base::StringPrintf("0x%x %s", err, mach_error_string(err));
}
} // namespace
@@ -225,5 +226,5 @@ std::string MachBroker::GetMachPortName() {
// In non-browser (child) processes, use the parent's pid.
const pid_t pid = is_child ? getppid() : getpid();
- return StringPrintf("%s.rohitfork.%d", base::mac::BaseBundleID(), pid);
+ return base::StringPrintf("%s.rohitfork.%d", base::mac::BaseBundleID(), pid);
}
« no previous file with comments | « content/browser/geolocation/gateway_data_provider_win.cc ('k') | content/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698