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

Unified Diff: chrome/browser/web_applications/web_app_win.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: chrome/browser/web_applications/web_app_win.cc
diff --git a/chrome/browser/web_applications/web_app_win.cc b/chrome/browser/web_applications/web_app_win.cc
index 399b0869010d73ca468f784903c0d934a29312d1..64b667f731a81fcf97fe0faef1019a20d9b4bd8e 100644
--- a/chrome/browser/web_applications/web_app_win.cc
+++ b/chrome/browser/web_applications/web_app_win.cc
@@ -154,7 +154,7 @@ std::vector<base::FilePath> MatchingShortcutsForProfileAndExtension(
base::FilePath shortcut_file = base_path;
if (i) {
shortcut_file = shortcut_file.InsertBeforeExtensionASCII(
- StringPrintf(" (%d)", i));
+ base::StringPrintf(" (%d)", i));
}
if (file_util::PathExists(shortcut_file) &&
ShortcutIsForProfile(shortcut_file, profile_path)) {
@@ -281,7 +281,7 @@ bool CreatePlatformShortcuts(
continue;
} else if (unique_number > 0) {
shortcut_file = shortcut_file.InsertBeforeExtensionASCII(
- StringPrintf(" (%d)", unique_number));
+ base::StringPrintf(" (%d)", unique_number));
}
base::win::ShortcutProperties shortcut_properties;

Powered by Google App Engine
This is Rietveld 408576698