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

Unified Diff: chrome/common/profiling.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android 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/common/importer/firefox_importer_utils.cc ('k') | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/profiling.cc
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc
index 6dc28c6a813350bf07bf3a96f2037b4388888f32..06f1c7d223fda40ec2042a24f0937a26638d8e53 100644
--- a/chrome/common/profiling.cc
+++ b/chrome/common/profiling.cc
@@ -58,7 +58,7 @@ std::string GetProfileName() {
command_line.GetSwitchValueASCII(switches::kProcessType);
std::string type = process_type.empty() ?
std::string("browser") : std::string(process_type);
- ReplaceSubstringsAfterOffset(&profile_name, 0, "{type}", type.c_str());
+ base::ReplaceSubstringsAfterOffset(&profile_name, 0, "{type}", type);
}
return profile_name;
}
« no previous file with comments | « chrome/common/importer/firefox_importer_utils.cc ('k') | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698