Index: content/browser/webui/web_ui_data_source_impl.cc |
diff --git a/content/browser/webui/web_ui_data_source_impl.cc b/content/browser/webui/web_ui_data_source_impl.cc |
index 5b258e359b3472cc3976cf05e2074a22a0f1f65c..78e4f18d224973b3b51fe6ce00620a8539acfc87 100644 |
--- a/content/browser/webui/web_ui_data_source_impl.cc |
+++ b/content/browser/webui/web_ui_data_source_impl.cc |
@@ -141,6 +141,10 @@ void WebUIDataSourceImpl::AddBoolean(const std::string& name, bool value) { |
// replacements. |
} |
+void WebUIDataSourceImpl::AddInteger(const std::string& name, int value) { |
+ localized_strings_.SetInteger(name, value); |
+} |
+ |
void WebUIDataSourceImpl::SetJsonPath(const std::string& path) { |
json_path_ = path; |
} |