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

Unified Diff: ui/base/template_expressions.h

Issue 1647583003: Revert of [Template Expressions] changing ${ leader to $i18n{ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/web_dev_style/css_checker.py ('k') | ui/base/template_expressions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/template_expressions.h
diff --git a/ui/base/template_expressions.h b/ui/base/template_expressions.h
index a8ac908b18ffadf46e18077b42bd5d60b2694375..ff14ee1b719149e0286a24c728ec4b64a28a8d35 100644
--- a/ui/base/template_expressions.h
+++ b/ui/base/template_expressions.h
@@ -16,15 +16,12 @@
namespace ui {
-// Map of strings for template replacement in |ReplaceTemplateExpressions|.
-typedef std::map<const std::string, std::string> TemplateReplacements;
-
// Replace ${foo} in the format string with the value for the foo key in
// |subst|. If the key is not found in the |substitutions| that item will
// be unaltered.
UI_BASE_EXPORT std::string ReplaceTemplateExpressions(
base::StringPiece format_string,
- const TemplateReplacements& substitutions);
+ const std::map<base::StringPiece, std::string>& substitutions);
} // namespace ui
« no previous file with comments | « chrome/browser/web_dev_style/css_checker.py ('k') | ui/base/template_expressions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698