summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/h_generator.py
diff options
context:
space:
mode:
authorDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 03:16:58 +0000
committerDHNishi@gmail.com <DHNishi@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-21 03:16:58 +0000
commitc7b4f8fc30296a463d4db9c869604ab30c81404e (patch)
treea38582f9ee281033fb916938945e545246f9c3f0 /tools/json_schema_compiler/h_generator.py
parente7a6b8a938bab3d6b84ae49df65f486587d001ea (diff)
downloadchromium_src-c7b4f8fc30296a463d4db9c869604ab30c81404e.zip
chromium_src-c7b4f8fc30296a463d4db9c869604ab30c81404e.tar.gz
chromium_src-c7b4f8fc30296a463d4db9c869604ab30c81404e.tar.bz2
Use base::string16 instead of std::string for errors in JSON Schema
Compiler error generation. BUG=71980,234834 Review URL: https://chromiumcodereview.appspot.com/22900009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler/h_generator.py')
-rw-r--r--tools/json_schema_compiler/h_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/h_generator.py b/tools/json_schema_compiler/h_generator.py
index 9a348fe..77356b2 100644
--- a/tools/json_schema_compiler/h_generator.py
+++ b/tools/json_schema_compiler/h_generator.py
@@ -393,5 +393,5 @@ class _Generator(object):
"""Builds the parameter list for a function, given an array of parameters.
"""
if self._generate_error_messages:
- params += ('std::string* error = NULL',)
+ params += ('base::string16* error = NULL',)
return ', '.join(str(p) for p in params)