summaryrefslogtreecommitdiffstats
path: root/chrome/common/jstemplate_builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/jstemplate_builder.h')
-rw-r--r--chrome/common/jstemplate_builder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/common/jstemplate_builder.h b/chrome/common/jstemplate_builder.h
index 0c4fcf8..ae4563b 100644
--- a/chrome/common/jstemplate_builder.h
+++ b/chrome/common/jstemplate_builder.h
@@ -16,8 +16,8 @@
#include <string>
-class DictionaryValue;
namespace base {
+class DictionaryValue;
class StringPiece;
}
@@ -27,20 +27,20 @@ namespace jstemplate_builder {
// string includes the HTML and the javascript code necessary to generate the
// full page with support for JsTemplates.
std::string GetTemplateHtml(const base::StringPiece& html_template,
- const DictionaryValue* json,
+ const base::DictionaryValue* json,
const base::StringPiece& template_id);
// A helper function that generates a string of HTML to be loaded. The
// string includes the HTML and the javascript code necessary to generate the
// full page with support for i18n Templates.
std::string GetI18nTemplateHtml(const base::StringPiece& html_template,
- const DictionaryValue* json);
+ const base::DictionaryValue* json);
// A helper function that generates a string of HTML to be loaded. The
// string includes the HTML and the javascript code necessary to generate the
// full page with support for both i18n Templates and JsTemplates.
std::string GetTemplatesHtml(const base::StringPiece& html_template,
- const DictionaryValue* json,
+ const base::DictionaryValue* json,
const base::StringPiece& template_id);
// The following functions build up the different parts that the above
@@ -48,11 +48,11 @@ std::string GetTemplatesHtml(const base::StringPiece& html_template,
// Appends a script tag with a variable name |templateData| that has the JSON
// assigned to it.
-void AppendJsonHtml(const DictionaryValue* json, std::string* output);
+void AppendJsonHtml(const base::DictionaryValue* json, std::string* output);
// Same as AppendJsonHtml(), execpt does not include the <script></script>
// tag wrappers.
-void AppendJsonJS(const DictionaryValue* json, std::string* output);
+void AppendJsonJS(const base::DictionaryValue* json, std::string* output);
// Appends the source for JsTemplates in a script tag.
void AppendJsTemplateSourceHtml(std::string* output);