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

Issue 487533005: Add support for references in different paths in apis (Closed)

Created:
6 years, 4 months ago by lfg
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Fady Samuel, Xi Han, wjmaclean
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

- Add support for references in different paths in apis. - Move ImageDetails from chrome to extensions. BUG=352290 Committed: https://crrev.com/8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc Cr-Commit-Position: refs/heads/master@{#292567}

Patch Set 1 : Initial implementation. #

Patch Set 2 : Renaming core_api::types->core_api::extension_types. #

Total comments: 20

Patch Set 3 : #

Total comments: 23

Patch Set 4 : #

Total comments: 4

Patch Set 5 : Rebasing #

Patch Set 6 : Fix gyp dependencies. #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Move path changes from second path. #

Patch Set 10 : Fixing gn builds. #

Total comments: 2

Patch Set 11 : gn dependencies #

Total comments: 1

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+242 lines, -118 lines) Patch
M build/json_schema_bundle_compile.gypi View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M build/json_schema_compile.gypi View 1 2 3 4 4 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/capture_web_contents_function.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gni View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/tabs.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/types.json View 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/common/extensions/api/web_view_internal.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
A extensions/common/api/extension_types.json View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M extensions/common/api/schemas.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M extensions/generated_extensions_api.gni View 1 2 3 4 5 6 7 8 9 5 chunks +19 lines, -7 lines 0 comments Download
M tools/json_schema_compiler/cc_generator.py View 1 2 3 4 5 6 7 2 chunks +8 lines, -9 lines 0 comments Download
M tools/json_schema_compiler/compiler.py View 1 2 3 4 5 6 7 8 9 7 chunks +30 lines, -8 lines 0 comments Download
M tools/json_schema_compiler/cpp_generator.py View 1 chunk +3 lines, -3 lines 0 comments Download
A + tools/json_schema_compiler/cpp_namespace_environment.py View 1 2 1 chunk +3 lines, -7 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator.py View 1 2 3 3 chunks +8 lines, -4 lines 0 comments Download
M tools/json_schema_compiler/cpp_type_generator_test.py View 1 2 3 6 chunks +28 lines, -10 lines 0 comments Download
M tools/json_schema_compiler/dart_generator_test.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/json_schema_compiler/h_generator.py View 1 2 3 2 chunks +7 lines, -11 lines 0 comments Download
M tools/json_schema_compiler/model.py View 1 2 3 chunks +13 lines, -3 lines 0 comments Download
M tools/json_schema_compiler/schema_loader.py View 1 2 3 4 5 6 7 8 9 2 chunks +50 lines, -31 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
lfg
Hi kalman, This is a first pass on adding support for references in different paths, ...
6 years, 4 months ago (2014-08-25 21:02:22 UTC) #1
not at google - send to devlin
Awesome work untangling that. Making that "environment" change will improve dependency injection and mean you ...
6 years, 4 months ago (2014-08-25 22:22:47 UTC) #2
lfg
https://codereview.chromium.org/487533005/diff/20001/build/json_schema_bundle_compile.gypi File build/json_schema_bundle_compile.gypi (right): https://codereview.chromium.org/487533005/diff/20001/build/json_schema_bundle_compile.gypi#newcode25 build/json_schema_bundle_compile.gypi:25: 'schema_includes' : [], On 2014/08/25 22:22:46, kalman wrote: > ...
6 years, 3 months ago (2014-08-26 16:15:22 UTC) #3
not at google - send to devlin
Next round of comments. Looking much better, thanks. Unfortunately this breaks the documentation for captureVisibleTab ...
6 years, 3 months ago (2014-08-26 20:16:06 UTC) #4
lfg
Here's a new pass with some fixes. I also don't know why linux_chromium_gn_rel trybot is ...
6 years, 3 months ago (2014-08-26 21:18:44 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py File tools/json_schema_compiler/schema_loader.py (right): https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py#newcode58 tools/json_schema_compiler/schema_loader.py:58: for include in self._includes: On 2014/08/26 21:18:44, lfg wrote: ...
6 years, 3 months ago (2014-08-27 23:11:23 UTC) #6
not at google - send to devlin
https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py File tools/json_schema_compiler/schema_loader.py (right): https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py#newcode58 tools/json_schema_compiler/schema_loader.py:58: for include in self._includes: On 2014/08/27 23:11:23, kalman wrote: ...
6 years, 3 months ago (2014-08-27 23:14:21 UTC) #7
not at google - send to devlin
kalman@chromium.org changed reviewers: + rockot@chromium.org
6 years, 3 months ago (2014-08-27 23:16:55 UTC) #8
not at google - send to devlin
Looks good - but is there any chance you're able to look at the docs ...
6 years, 3 months ago (2014-08-27 23:16:55 UTC) #9
lfg
https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py File tools/json_schema_compiler/schema_loader.py (right): https://codereview.chromium.org/487533005/diff/40001/tools/json_schema_compiler/schema_loader.py#newcode58 tools/json_schema_compiler/schema_loader.py:58: for include in self._includes: On 2014/08/27 23:14:20, kalman wrote: ...
6 years, 3 months ago (2014-08-28 18:57:10 UTC) #10
not at google - send to devlin
lgtm
6 years, 3 months ago (2014-08-28 19:42:39 UTC) #11
lfg
The CQ bit was checked by lfg@chromium.org
6 years, 3 months ago (2014-08-28 19:45:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lfg@chromium.org/487533005/140001
6 years, 3 months ago (2014-08-28 19:49:07 UTC) #13
lfg
The CQ bit was unchecked by lfg@chromium.org
6 years, 3 months ago (2014-08-28 20:12:11 UTC) #14
lfg
lfg@chromium.org changed reviewers: + yoz@chromium.org
6 years, 3 months ago (2014-08-28 22:57:31 UTC) #15
lfg
@kalman: PTAL, I had to change the way paths are accessed to fix the gn ...
6 years, 3 months ago (2014-08-28 22:57:31 UTC) #16
not at google - send to devlin
lgtm
6 years, 3 months ago (2014-08-28 23:14:28 UTC) #17
Yoyo Zhou
Mostly OK but https://codereview.chromium.org/487533005/diff/180001/chrome/common/extensions/api/api.gyp File chrome/common/extensions/api/api.gyp (right): https://codereview.chromium.org/487533005/diff/180001/chrome/common/extensions/api/api.gyp#newcode21 chrome/common/extensions/api/api.gyp:21: 'dependencies': [ I expect to see ...
6 years, 3 months ago (2014-08-28 23:17:21 UTC) #18
lfg
https://codereview.chromium.org/487533005/diff/180001/chrome/common/extensions/api/api.gyp File chrome/common/extensions/api/api.gyp (right): https://codereview.chromium.org/487533005/diff/180001/chrome/common/extensions/api/api.gyp#newcode21 chrome/common/extensions/api/api.gyp:21: 'dependencies': [ On 2014/08/28 23:17:21, Yoyo Zhou wrote: > ...
6 years, 3 months ago (2014-08-29 00:45:13 UTC) #19
Yoyo Zhou
LGTM https://codereview.chromium.org/487533005/diff/200001/chrome/common/extensions/api/schemas.gni File chrome/common/extensions/api/schemas.gni (right): https://codereview.chromium.org/487533005/diff/200001/chrome/common/extensions/api/schemas.gni#newcode34 chrome/common/extensions/api/schemas.gni:34: schema_dependencies = [ "//extensions/common/api:api" ] nit: you don't ...
6 years, 3 months ago (2014-08-29 00:56:14 UTC) #20
lfg
The CQ bit was checked by lfg@chromium.org
6 years, 3 months ago (2014-08-29 02:00:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lfg@chromium.org/487533005/220001
6 years, 3 months ago (2014-08-29 02:01:41 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-29 03:06:52 UTC) #23
commit-bot: I haz the power
Committed patchset #12 (id:220001) as 2647554914925ef62da6b359d22e5e7ce584dd89
6 years, 3 months ago (2014-08-29 03:56:36 UTC) #24
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:06:07 UTC) #25
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc
Cr-Commit-Position: refs/heads/master@{#292567}

Powered by Google App Engine
This is Rietveld 408576698