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

Issue 9903010: Extract ExtensionRequestSender from SchemaGeneratedBindings. (Closed)

Created:
8 years, 9 months ago by koz (OOO until 15th September)
Modified:
8 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, darin-cc_chromium.org, mihaip+watch_chromium.org, brettw-cc_chromium.org, aa, benwells
Visibility:
Public.

Description

Extract ExtensionRequestSender from SchemaGeneratedBindings. This change is intended to make the functions in SchemaGeneratedBindings less coupled, and the lifecycle of pending requests clearer. After this change it should be possible to replace SchemaGeneratedBindings with several smaller, more targeted subclasses of ChromeV8Extension, eg: SetIconNatives and SendRequestNatives. BUG=none TEST=existing browser tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130343

Patch Set 1 #

Total comments: 12

Patch Set 2 : respond to comments #

Total comments: 18

Patch Set 3 : respond to comments, rebase #

Patch Set 4 : fix compile bug #

Patch Set 5 : fix bug #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -225 lines) Patch
M chrome/chrome_renderer.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_extension.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_extension.cc View 1 2 1 chunk +0 lines, -38 lines 0 comments Download
M chrome/renderer/extensions/event_bindings.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.h View 1 2 3 chunks +16 lines, -1 line 0 comments Download
M chrome/renderer/extensions/extension_dispatcher.cc View 1 2 4 chunks +47 lines, -1 line 0 comments Download
M chrome/renderer/extensions/extension_helper.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/renderer/extensions/extension_request_sender.h View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A chrome/renderer/extensions/extension_request_sender.cc View 1 2 3 4 1 chunk +159 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/schema_generated_bindings.h View 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/renderer/extensions/schema_generated_bindings.cc View 6 chunks +10 lines, -165 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
koz (OOO until 15th September)
8 years, 9 months ago (2012-03-29 06:40:02 UTC) #1
benwells
drive by review... oh, nice name btw https://chromiumcodereview.appspot.com/9903010/diff/1/chrome/renderer/extensions/extension_request_sender.cc File chrome/renderer/extensions/extension_request_sender.cc (right): https://chromiumcodereview.appspot.com/9903010/diff/1/chrome/renderer/extensions/extension_request_sender.cc#newcode44 chrome/renderer/extensions/extension_request_sender.cc:44: void ExtensionRequestSender::InsertRequest(int ...
8 years, 8 months ago (2012-03-29 23:06:36 UTC) #2
koz (OOO until 15th September)
Thanks, Ben. https://chromiumcodereview.appspot.com/9903010/diff/1/chrome/renderer/extensions/extension_request_sender.cc File chrome/renderer/extensions/extension_request_sender.cc (right): https://chromiumcodereview.appspot.com/9903010/diff/1/chrome/renderer/extensions/extension_request_sender.cc#newcode44 chrome/renderer/extensions/extension_request_sender.cc:44: void ExtensionRequestSender::InsertRequest(int request_id, On 2012/03/29 23:06:36, benwells ...
8 years, 8 months ago (2012-03-29 23:55:46 UTC) #3
not at google - send to devlin
basically lgtm but I do have a bunch of comments there (the meaty ones not ...
8 years, 8 months ago (2012-03-30 03:14:31 UTC) #4
benwells
lgtm
8 years, 8 months ago (2012-03-30 04:34:25 UTC) #5
koz (OOO until 15th September)
Cheers. http://codereview.chromium.org/9903010/diff/1/chrome/renderer/extensions/chrome_v8_extension.cc File chrome/renderer/extensions/chrome_v8_extension.cc (right): http://codereview.chromium.org/9903010/diff/1/chrome/renderer/extensions/chrome_v8_extension.cc#newcode81 chrome/renderer/extensions/chrome_v8_extension.cc:81: bool ChromeV8Extension::CheckCurrentContextAccessToExtensionAPI( On 2012/03/30 03:14:31, kalman wrote: > ...
8 years, 8 months ago (2012-04-03 00:15:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/9903010/7004
8 years, 8 months ago (2012-04-03 00:41:34 UTC) #7
commit-bot: I haz the power
Try job failure for 9903010-7004 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-03 01:02:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/9903010/12002
8 years, 8 months ago (2012-04-03 01:33:10 UTC) #9
commit-bot: I haz the power
Try job failure for 9903010-12002 (retry) on linux_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-04-03 02:48:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/koz@chromium.org/9903010/7011
8 years, 8 months ago (2012-04-03 06:44:12 UTC) #11
commit-bot: I haz the power
8 years, 8 months ago (2012-04-03 08:30:07 UTC) #12
Change committed as 130343

Powered by Google App Engine
This is Rietveld 408576698