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

Unified Diff: chrome/browser/search/suggestions/suggestions_source.cc

Issue 1223153003: Move JoinString to the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: windows Created 5 years, 5 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/browser/net/safe_search_util.cc ('k') | chrome/browser/ssl/certificate_error_report.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/search/suggestions/suggestions_source.cc
diff --git a/chrome/browser/search/suggestions/suggestions_source.cc b/chrome/browser/search/suggestions/suggestions_source.cc
index 486d53dd706bd8078f051005cf2e92f7e2de74e5..79ea0be69f6908a7da8da8186ec7c770bfd28f27 100644
--- a/chrome/browser/search/suggestions/suggestions_source.cc
+++ b/chrome/browser/search/suggestions/suggestions_source.cc
@@ -78,7 +78,7 @@ void RenderOutputHtml(const SuggestionsProfile& profile,
}
out.push_back("</ul>");
out.push_back(kHtmlFooter);
- *output = JoinString(out, "");
+ *output = base::JoinString(out, base::StringPiece());
}
// Fills |output| with the HTML needed to display that no suggestions are
@@ -90,7 +90,7 @@ void RenderOutputHtmlNoSuggestions(std::string* output) {
out.push_back("<h1>Suggestions</h1>\n");
out.push_back("<p>You have no suggestions.</p>\n");
out.push_back(kHtmlFooter);
- *output = JoinString(out, "");
+ *output = base::JoinString(out, base::StringPiece());
}
} // namespace
« no previous file with comments | « chrome/browser/net/safe_search_util.cc ('k') | chrome/browser/ssl/certificate_error_report.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698