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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

Issue 102843002: Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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: chrome/browser/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index f7372ce4e49ef123eea50a5bf84b3fd04db8dae1..2388f788b7b8a229b707a1bd36e69dbbcafe84ba 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -704,8 +704,8 @@ base::FilePath WebAppShortcutCreator::GetAppBundleById(
std::string WebAppShortcutCreator::GetBundleIdentifier() const {
// Replace spaces in the profile path with hyphen.
std::string normalized_profile_path;
- ReplaceChars(info_.profile_path.BaseName().value(),
- " ", "-", &normalized_profile_path);
+ base::ReplaceChars(info_.profile_path.BaseName().value(),
+ " ", "-", &normalized_profile_path);
// This matches APP_MODE_APP_BUNDLE_ID in chrome/chrome.gyp.
std::string bundle_id =

Powered by Google App Engine
This is Rietveld 408576698