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

Unified Diff: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc

Issue 1227413007: Move ReplaceStringPlaceholders to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@join
Patch Set: 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
Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 6579db547a4f1adc42a285dd2827250da9ccf491..2724c7d92c5d7397a23feed493d5d6c82d0328f0 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -563,7 +563,7 @@ void NTPResourceCache::CreateNewTabIncognitoCSS() {
IDR_NEW_INCOGNITO_TAB_THEME_CSS));
// Create the string from our template and the replacements.
- std::string full_css = ReplaceStringPlaceholders(
+ std::string full_css = base::ReplaceStringPlaceholders(
new_tab_theme_css, subst, NULL);
new_tab_incognito_css_ = base::RefCountedString::TakeString(&full_css);
@@ -596,7 +596,7 @@ void NTPResourceCache::CreateNewTabGuestCSS() {
IDR_NEW_INCOGNITO_TAB_THEME_CSS));
// Create the string from our template and the replacements.
- std::string full_css = ReplaceStringPlaceholders(
+ std::string full_css = base::ReplaceStringPlaceholders(
new_tab_theme_css, subst, NULL);
new_tab_guest_css_ = base::RefCountedString::TakeString(&full_css);
@@ -692,6 +692,6 @@ void NTPResourceCache::CreateNewTabCSS() {
// Create the string from our template and the replacements.
std::string css_string;
- css_string = ReplaceStringPlaceholders(new_tab_theme_css, subst, NULL);
+ css_string = base::ReplaceStringPlaceholders(new_tab_theme_css, subst, NULL);
new_tab_css_ = base::RefCountedString::TakeString(&css_string);
}
« no previous file with comments | « chrome/browser/ui/cocoa/l10n_util.mm ('k') | chrome/browser/web_resource/promo_resource_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698