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

Issue 2271813003: [Extensions] Parse schema string directly into a v8 object (Closed)

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

Description

[Extensions] Parse schema string directly into a v8 object In the renderer, we need to parse the extension schema string and pass it to JS in order to create our bindings. However, right now, we first parse this into a DictionaryValue, and then convert it into a v8::Object. However, now that we fully generate all the schema code, we should be able to parse it directly from a string into a v8::Object. BUG=640247 Committed: https://crrev.com/2fdf3d97334819323dc2f42e79fb9d897b069ec4 Cr-Commit-Position: refs/heads/master@{#414725}

Patch Set 1 : update #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -21 lines) Patch
M extensions/common/extension_api.h View 2 chunks +8 lines, -0 lines 0 comments Download
M extensions/common/extension_api.cc View 3 chunks +25 lines, -10 lines 0 comments Download
M extensions/renderer/v8_schema_registry.cc View 2 chunks +21 lines, -11 lines 0 comments Download

Messages

Total messages: 27 (20 generated)
Devlin
Antony, mind taking a look?
4 years, 3 months ago (2016-08-25 20:45:15 UTC) #13
asargent_no_longer_on_chrome
lgtm
4 years, 3 months ago (2016-08-25 23:24:46 UTC) #14
Devlin
jochen, can you confirm that this v8 use isn't crazy in any way?
4 years, 3 months ago (2016-08-26 00:30:55 UTC) #16
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-08-26 15:08:50 UTC) #17
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/2271813003/60001
4 years, 3 months ago (2016-08-26 16:07:53 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 3 months ago (2016-08-26 16:11:49 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 16:13:24 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2fdf3d97334819323dc2f42e79fb9d897b069ec4
Cr-Commit-Position: refs/heads/master@{#414725}

Powered by Google App Engine
This is Rietveld 408576698