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

Unified Diff: content/browser/webui/url_data_source_impl.h

Issue 2544683002: [MD settings] i18n source stream filtering (Closed)
Patch Set: review nits Created 4 years 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 | « content/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/url_data_source_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fe543e6e9963d60ed5794ef5c442dcb912024564..77c2e975d7a090fad7ab1690434e768ba111b563 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;
@@ -65,6 +67,9 @@ class URLDataSourceImpl : public base::RefCountedThreadSafe<
virtual bool IsWebUIDataSourceImpl() const;
+ // Replacements for i18n or null if no replacements are desired.
+ virtual const ui::TemplateReplacements* GetReplacements() const;
+
protected:
virtual ~URLDataSourceImpl();
« no previous file with comments | « content/browser/webui/url_data_manager_backend.cc ('k') | content/browser/webui/url_data_source_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698