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

Issue 10535030: Allow updateArgumentsPostValidate to support callbacks and added / removed arguments. (Closed)

Created:
8 years, 6 months ago by benwells
Modified:
8 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, mihaip-chromium-reviews_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, Mihai Parparita -not on Chrome, koz (OOO until 15th September)
Visibility:
Public.

Description

Allow updateArgumentsPostValidate to support callbacks and added / removed arguments. This also pulls the normalization code out of schema_generated_bindings.js. BUG=None TEST=Existing tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140980

Patch Set 1 #

Patch Set 2 : Cleaner #

Patch Set 3 : Tests; neatuer #

Patch Set 4 : Unit tests #

Total comments: 12

Patch Set 5 : Better #

Patch Set 6 : Comment #

Total comments: 6

Patch Set 7 : Comments #

Patch Set 8 : Proper syntax #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -189 lines) Patch
M chrome/renderer/extensions/event_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/renderer_resources.grd View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/content_settings_custom_bindings.js View 1 2 3 4 2 chunks +10 lines, -8 lines 0 comments Download
M chrome/renderer/resources/extensions/declarative_webrequest_custom_bindings.js View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/renderer/resources/extensions/event.js View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/renderer/resources/extensions/schema_generated_bindings.js View 1 2 3 4 7 chunks +11 lines, -157 lines 0 comments Download
A chrome/renderer/resources/extensions/schema_utils.js View 1 2 3 4 5 6 7 1 chunk +161 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/send_request.js View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M chrome/renderer/resources/extensions/storage_custom_bindings.js View 1 2 3 4 2 chunks +10 lines, -6 lines 0 comments Download
M chrome/renderer/resources/extensions/types_custom_bindings.js View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/renderer/resources/extensions/web_request_custom_bindings.js View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
benwells
green bots now
8 years, 6 months ago (2012-06-06 21:17:09 UTC) #1
not at google - send to devlin
Thanks for this cleanup. Sorry I have so many comments :\ http://codereview.chromium.org/10535030/diff/3005/chrome/renderer/extensions/extension_dispatcher.cc File chrome/renderer/extensions/extension_dispatcher.cc (right): ...
8 years, 6 months ago (2012-06-07 00:17:11 UTC) #2
benwells
PTAL... http://codereview.chromium.org/10535030/diff/3005/chrome/renderer/extensions/extension_dispatcher.cc File chrome/renderer/extensions/extension_dispatcher.cc (right): http://codereview.chromium.org/10535030/diff/3005/chrome/renderer/extensions/extension_dispatcher.cc#newcode546 chrome/renderer/extensions/extension_dispatcher.cc:546: source_map_.RegisterSource("validateUtils", IDR_VALIDATE_UTILS_JS); On 2012/06/07 00:17:11, kalman wrote: > ...
8 years, 6 months ago (2012-06-07 01:45:40 UTC) #3
not at google - send to devlin
lgtm http://codereview.chromium.org/10535030/diff/14002/chrome/renderer/resources/extensions/schema_utils.js File chrome/renderer/resources/extensions/schema_utils.js (right): http://codereview.chromium.org/10535030/diff/14002/chrome/renderer/resources/extensions/schema_utils.js#newcode11 chrome/renderer/resources/extensions/schema_utils.js:11: if (chromeHidden.JSONSchemaValidator) { Just throwing this out there, ...
8 years, 6 months ago (2012-06-07 03:15:04 UTC) #4
benwells
ok, gonna land now. http://codereview.chromium.org/10535030/diff/14002/chrome/renderer/resources/extensions/schema_utils.js File chrome/renderer/resources/extensions/schema_utils.js (right): http://codereview.chromium.org/10535030/diff/14002/chrome/renderer/resources/extensions/schema_utils.js#newcode11 chrome/renderer/resources/extensions/schema_utils.js:11: if (chromeHidden.JSONSchemaValidator) { On 2012/06/07 ...
8 years, 6 months ago (2012-06-07 04:11:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10535030/14004
8 years, 6 months ago (2012-06-07 04:12:25 UTC) #6
commit-bot: I haz the power
Try job failure for 10535030-14004 (retry) on mac_rel for step "browser_tests" (clobber build). It's a ...
8 years, 6 months ago (2012-06-07 04:51:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benwells@chromium.org/10535030/9004
8 years, 6 months ago (2012-06-07 06:48:16 UTC) #8
commit-bot: I haz the power
8 years, 6 months ago (2012-06-07 08:49:00 UTC) #9
Change committed as 140980

Powered by Google App Engine
This is Rietveld 408576698