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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_data_source.h

Issue 7148023: Add content-security-policy (CSP) to chrome://flags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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/chrome_web_ui_data_source.h
===================================================================
--- chrome/browser/ui/webui/chrome_web_ui_data_source.h (revision 89497)
+++ chrome/browser/ui/webui/chrome_web_ui_data_source.h (working copy)
@@ -18,6 +18,9 @@
public:
explicit ChromeWebUIDataSource(const std::string& source_name);
+ // Adds a string and its equivalent to our dictionary.
+ void AddString(const std::string& name, const string16& value);
+
// Adds a name and its equivaled localized string to our dictionary.
void AddLocalizedString(const std::string& name, int ids);

Powered by Google App Engine
This is Rietveld 408576698