Index: content/browser/webui/url_data_source_impl.h |
diff --git a/content/browser/webui/url_data_source_impl.h b/content/browser/webui/url_data_source_impl.h |
index 577657705b9a126252d802cf98a9a59fd779ee06..98d1e9bf196f570877b99c9d701bdd83bd00629d 100644 |
--- a/content/browser/webui/url_data_source_impl.h |
+++ b/content/browser/webui/url_data_source_impl.h |
@@ -6,11 +6,13 @@ |
#define CONTENT_BROWSER_WEBUI_URL_DATA_SOURCE_IMPL_H_ |
#include <memory> |
+#include <string> |
#include "base/memory/ref_counted.h" |
#include "base/sequenced_task_runner_helpers.h" |
#include "content/browser/webui/url_data_manager.h" |
#include "content/common/content_export.h" |
+#include "ui/base/template_expressions.h" |
namespace base { |
class RefCountedMemory; |
@@ -63,6 +65,9 @@ class URLDataSourceImpl : public base::RefCountedThreadSafe< |
const std::string& source_name() const { return source_name_; } |
URLDataSource* source() const { return source_.get(); } |
+ // Replacements for i18n or null if no replacements are desired. |
+ virtual const ui::TemplateReplacements* GetReplacements() const; |
+ |
protected: |
virtual ~URLDataSourceImpl(); |