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

Issue 10206034: JSON schema compiler can't handle strings as types (Closed)

Created:
8 years, 7 months ago by cduvall
Modified:
8 years, 7 months ago
Reviewers:
Yoyo Zhou
CC:
chromium-reviews, Aaron Boodman, pam+watch_chromium.org, mihaip+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

JSON schema compiler can't handle strings as types JSON schema compiler now supports having strings as types. Similar to http://crbug.com/122075 BUG=124771 TEST=cpp_type_generator_test.py Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134674

Patch Set 1 #

Total comments: 10

Patch Set 2 : Small style change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -25 lines) Patch
M chrome/common/extensions/api/api.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/experimental.fontSettings.json View 8 chunks +16 lines, -8 lines 0 comments Download
M chrome/common/extensions/docs/experimental.fontSettings.html View 8 chunks +32 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 3 chunks +16 lines, -4 lines 0 comments Download
M tools/json_schema_compiler/compiler.py View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator.py View 1 chunk +9 lines, -2 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator_test.py View 3 chunks +41 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/h_generator.py View 1 chunk +5 lines, -0 lines 0 comments Download
M tools/json_schema_compiler/model.py View 1 chunk +2 lines, -0 lines 0 comments Download
A tools/json_schema_compiler/test/dependencyTester.json View 1 chunk +32 lines, -0 lines 0 comments Download
A + tools/json_schema_compiler/test/fontSettings.json View 9 chunks +17 lines, -9 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cduvall
Thanks for the review! https://chromiumcodereview.appspot.com/10206034/diff/1/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): https://chromiumcodereview.appspot.com/10206034/diff/1/tools/json_schema_compiler/compiler.py#newcode81 tools/json_schema_compiler/compiler.py:81: referenced_namespace.name) This should be |name| ...
8 years, 7 months ago (2012-04-27 22:28:52 UTC) #1
Yoyo Zhou
Mostly LGTM. http://codereview.chromium.org/10206034/diff/1/chrome/common/extensions/api/experimental.fontSettings.json File chrome/common/extensions/api/experimental.fontSettings.json (right): http://codereview.chromium.org/10206034/diff/1/chrome/common/extensions/api/experimental.fontSettings.json#newcode170 chrome/common/extensions/api/experimental.fontSettings.json:170: "properties": {} Why are these added? http://codereview.chromium.org/10206034/diff/1/tools/json_schema_compiler/cc_generator.py ...
8 years, 7 months ago (2012-05-01 00:21:58 UTC) #2
cduvall
http://codereview.chromium.org/10206034/diff/1/chrome/common/extensions/api/experimental.fontSettings.json File chrome/common/extensions/api/experimental.fontSettings.json (right): http://codereview.chromium.org/10206034/diff/1/chrome/common/extensions/api/experimental.fontSettings.json#newcode170 chrome/common/extensions/api/experimental.fontSettings.json:170: "properties": {} On 2012/05/01 00:21:58, Yoyo Zhou wrote: > ...
8 years, 7 months ago (2012-05-01 00:31:51 UTC) #3
cduvall
http://codereview.chromium.org/10206034/diff/1/tools/json_schema_compiler/compiler.py File tools/json_schema_compiler/compiler.py (right): http://codereview.chromium.org/10206034/diff/1/tools/json_schema_compiler/compiler.py#newcode81 tools/json_schema_compiler/compiler.py:81: referenced_namespace.name) On 2012/05/01 00:31:51, cduvall wrote: > On 2012/05/01 ...
8 years, 7 months ago (2012-05-01 00:48:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/10206034/5003
8 years, 7 months ago (2012-05-01 00:49:07 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-05-01 03:58:08 UTC) #6
Change committed as 134674

Powered by Google App Engine
This is Rietveld 408576698