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

Issue 1033223007: [Extension API Extern Generation] Support inline object definitions (Closed)

Created:
5 years, 9 months ago by Devlin
Modified:
5 years, 8 months ago
CC:
chromium-reviews, Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extension API Extern Generation] Support inline object definitions The Extension APIs can define their objects "inlined", i.e., at the place of their use (for instance, as a function parameter). The generated externs need to reflect this, rather than simply call the parameter an 'Object'. BUG=469920 Committed: https://crrev.com/9ead75ee2fb3655639689925da6a68141a2556e6 Cr-Commit-Position: refs/heads/master@{#322804}

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Dan's #

Total comments: 13

Patch Set 3 : Tyler's #

Patch Set 4 : Presubmit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -78 lines) Patch
M tools/json_schema_compiler/cc_generator.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/code.py View 1 2 7 chunks +45 lines, -17 lines 0 comments Download
M tools/json_schema_compiler/code_test.py View 1 2 chunks +32 lines, -1 line 0 comments Download
M tools/json_schema_compiler/h_generator.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/js_externs_generator.py View 1 2 4 chunks +86 lines, -52 lines 0 comments Download
M tools/json_schema_compiler/js_externs_generator_test.py View 1 2 3 3 chunks +114 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
Devlin
Dan, please take a look (Tyler, FYI). This change looks kinda crazy (because inlined objects ...
5 years, 9 months ago (2015-03-27 18:51:33 UTC) #3
Dan Beam
i think tbreisacher@ is a better reviewer for this https://codereview.chromium.org/1033223007/diff/20001/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1033223007/diff/20001/tools/json_schema_compiler/code.py#newcode21 tools/json_schema_compiler/code.py:21: ...
5 years, 9 months ago (2015-03-27 19:05:25 UTC) #5
Devlin
https://codereview.chromium.org/1033223007/diff/20001/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1033223007/diff/20001/tools/json_schema_compiler/code.py#newcode21 tools/json_schema_compiler/code.py:21: white_space=False): On 2015/03/27 19:05:25, Dan Beam wrote: > nit: ...
5 years, 9 months ago (2015-03-27 20:50:11 UTC) #7
Tyler Breisacher (Chromium)
Just a general comment: For formatting issues, it might be easier to generate badly-formatted code ...
5 years, 9 months ago (2015-03-27 22:52:18 UTC) #8
Devlin
https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py#newcode28 tools/json_schema_compiler/code.py:28: to the last line of the code. On 2015/03/27 ...
5 years, 9 months ago (2015-03-27 23:04:09 UTC) #9
Tyler Breisacher (Chromium)
lgtm https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py#newcode28 tools/json_schema_compiler/code.py:28: to the last line of the code. On ...
5 years, 9 months ago (2015-03-27 23:22:33 UTC) #10
Devlin
https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py File tools/json_schema_compiler/code.py (right): https://codereview.chromium.org/1033223007/diff/60001/tools/json_schema_compiler/code.py#newcode28 tools/json_schema_compiler/code.py:28: to the last line of the code. > Oh ...
5 years, 9 months ago (2015-03-27 23:39:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1033223007/80001
5 years, 8 months ago (2015-03-30 16:04:45 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/52637)
5 years, 8 months ago (2015-03-30 16:15:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1033223007/100001
5 years, 8 months ago (2015-03-30 16:28:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1033223007/100001
5 years, 8 months ago (2015-03-30 17:06:13 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 8 months ago (2015-03-30 17:36:27 UTC) #23
commit-bot: I haz the power
5 years, 8 months ago (2015-03-30 17:40:29 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/9ead75ee2fb3655639689925da6a68141a2556e6
Cr-Commit-Position: refs/heads/master@{#322804}

Powered by Google App Engine
This is Rietveld 408576698