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

Unified Diff: base/process_linux.cc

Issue 12767006: [Cleanup] Remove StringPrintf from global namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, once more Created 7 years, 9 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: base/process_linux.cc
diff --git a/base/process_linux.cc b/base/process_linux.cc
index 83d9649405d25fb12a528912073fe6891657c66a..b7764fc3177e3d5447c9a1066d6a004424d35bf5 100644
--- a/base/process_linux.cc
+++ b/base/process_linux.cc
@@ -42,8 +42,10 @@ struct CGroups {
base::FilePath background_file;
CGroups() {
- foreground_file = base::FilePath(StringPrintf(kControlPath, kForeground));
- background_file = base::FilePath(StringPrintf(kControlPath, kBackground));
+ foreground_file =
+ base::FilePath(base::StringPrintf(kControlPath, kForeground));
+ background_file =
+ base::FilePath(base::StringPrintf(kControlPath, kBackground));
file_util::FileSystemType foreground_type;
file_util::FileSystemType background_type;
enabled =
« no previous file with comments | « base/os_compat_android.cc ('k') | base/stringprintf.h » ('j') | ipc/ipc_message_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698