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

Issue 2266113002: [Extensions] Prefix extension apis in the generation step (Closed)

Created:
4 years, 4 months ago by Devlin
Modified:
4 years, 4 months ago
Reviewers:
lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Prefix extension apis in the generation step We prefix extension API types with the namespace of the API they are in so that we can look them up easily. Right now, this is done at runtime by traversing a dictionary value and modifying each of the values. But since we generate all extension APIs with crbug.com/638758, we can move this step into the generation, and avoid doing it at runtime. BUG=638735 Committed: https://crrev.com/d0e853f951e0f59821d51003000d24cf9a4239a7 Cr-Commit-Position: refs/heads/master@{#413866}

Patch Set 1 : testfix #

Total comments: 8

Patch Set 2 : lazyboys #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -120 lines) Patch
M chrome/common/extensions/api/common_extension_api_unittest.cc View 1 1 chunk +86 lines, -57 lines 0 comments Download
M extensions/common/extension_api.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M extensions/common/extension_api.cc View 1 2 chunks +0 lines, -61 lines 0 comments Download
M tools/json_schema_compiler/cpp_bundle_generator.py View 1 3 chunks +38 lines, -1 line 0 comments Download

Messages

Total messages: 36 (30 generated)
Devlin
lazyboy@, mind taking a look?
4 years, 4 months ago (2016-08-23 16:38:26 UTC) #22
lazyboy
lgtm with nits. https://codereview.chromium.org/2266113002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator.py File tools/json_schema_compiler/cpp_bundle_generator.py (right): https://codereview.chromium.org/2266113002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator.py#newcode41 tools/json_schema_compiler/cpp_bundle_generator.py:41: def _PrefixSchemaWithNamespace(schema): Add description, re: types ...
4 years, 4 months ago (2016-08-23 17:43:55 UTC) #23
Devlin
https://codereview.chromium.org/2266113002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator.py File tools/json_schema_compiler/cpp_bundle_generator.py (right): https://codereview.chromium.org/2266113002/diff/60001/tools/json_schema_compiler/cpp_bundle_generator.py#newcode41 tools/json_schema_compiler/cpp_bundle_generator.py:41: def _PrefixSchemaWithNamespace(schema): On 2016/08/23 17:43:54, lazyboy wrote: > Add ...
4 years, 4 months ago (2016-08-23 22:02:43 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2266113002/100001
4 years, 4 months ago (2016-08-23 22:04:25 UTC) #32
commit-bot: I haz the power
Committed patchset #2 (id:100001)
4 years, 4 months ago (2016-08-23 22:35:25 UTC) #34
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 22:38:29 UTC) #36
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d0e853f951e0f59821d51003000d24cf9a4239a7
Cr-Commit-Position: refs/heads/master@{#413866}

Powered by Google App Engine
This is Rietveld 408576698