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

Unified Diff: chrome/browser/ui/views/select_file_dialog.cc

Issue 4974001: base: Get rid of 'using' declaration of StringAppendF. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 10 years, 1 month 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/browser/net/url_info.cc ('k') | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/select_file_dialog.cc
diff --git a/chrome/browser/ui/views/select_file_dialog.cc b/chrome/browser/ui/views/select_file_dialog.cc
index da8427cf1fb44f62b10511179bd54f052c08e969..d19de9e6b44cf74d3eabfe066b613262d42152df 100644
--- a/chrome/browser/ui/views/select_file_dialog.cc
+++ b/chrome/browser/ui/views/select_file_dialog.cc
@@ -401,12 +401,13 @@ std::string SelectFileDialogImpl::FileBrowseDelegate::GetDialogArgs() const {
for (size_t j = 0; j < file_types_.extensions[i].size(); ++j) {
if (!exts.empty())
exts.append(",");
- StringAppendF(&exts, "\"%s\"", file_types_.extensions[i][j].c_str());
+ base::StringAppendF(&exts, "\"%s\"",
+ file_types_.extensions[i][j].c_str());
}
if (!exts_list.empty())
exts_list.append(",");
- StringAppendF(&exts_list, "[%s]", exts.c_str());
+ base::StringAppendF(&exts_list, "[%s]", exts.c_str());
std::string desc;
if (i < file_types_.extension_description_overrides.size()) {
@@ -423,7 +424,7 @@ std::string SelectFileDialogImpl::FileBrowseDelegate::GetDialogArgs() const {
if (!desc_list.empty())
desc_list.append(",");
- StringAppendF(&desc_list, "\"%s\"", desc.c_str());
+ base::StringAppendF(&desc_list, "\"%s\"", desc.c_str());
}
std::string filename = default_path_.BaseName().value();
« no previous file with comments | « chrome/browser/net/url_info.cc ('k') | chrome/common/sandbox_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698