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

Issue 12567028: Apps V2 in Pepper: Host side implementation of ExntensionsCommon - Part 1. (Closed)

Created:
7 years, 8 months ago by yzshen1
Modified:
7 years, 8 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org, koz (OOO until 15th September)
Visibility:
Public.

Description

Apps V2 in Pepper: Host side implementation of ExntensionsCommon - Part 1. This change handles the most common case: There is no need to call into JS custom bindings; requests are directly relayed to the browser process. BUG=None TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=191355

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -63 lines) Patch
M chrome/renderer/extensions/chrome_v8_context.h View 3 chunks +12 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/chrome_v8_context.cc View 3 chunks +37 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/request_sender.h View 2 chunks +24 lines, -3 lines 2 comments Download
M chrome/renderer/extensions/request_sender.cc View 5 chunks +19 lines, -36 lines 0 comments Download
M chrome/renderer/extensions/send_request_natives.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/renderer/pepper/pepper_extensions_common_host.h View 3 chunks +20 lines, -4 lines 0 comments Download
M chrome/renderer/pepper/pepper_extensions_common_host.cc View 3 chunks +79 lines, -9 lines 0 comments Download
M ppapi/host/dispatch_host_message.h View 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
yzshen1
Hi, Antony and Raymes. Would you please take a look? Antony: please review the changes ...
7 years, 8 months ago (2013-03-26 22:14:30 UTC) #1
asargent_no_longer_on_chrome
LGTM +cc kalman and koz as FYI https://codereview.chromium.org/12567028/diff/1/chrome/renderer/extensions/request_sender.h File chrome/renderer/extensions/request_sender.h (right): https://codereview.chromium.org/12567028/diff/1/chrome/renderer/extensions/request_sender.h#newcode37 chrome/renderer/extensions/request_sender.h:37: virtual ChromeV8Context* ...
7 years, 8 months ago (2013-03-28 20:33:25 UTC) #2
raymes
lgtm for pepper side stuff.
7 years, 8 months ago (2013-03-28 20:51:16 UTC) #3
yzshen1
Thanks Antony and Raymes! https://codereview.chromium.org/12567028/diff/1/chrome/renderer/extensions/request_sender.h File chrome/renderer/extensions/request_sender.h (right): https://codereview.chromium.org/12567028/diff/1/chrome/renderer/extensions/request_sender.h#newcode37 chrome/renderer/extensions/request_sender.h:37: virtual ChromeV8Context* GetContext() = 0; ...
7 years, 8 months ago (2013-03-28 22:25:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/12567028/1
7 years, 8 months ago (2013-03-29 06:26:14 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) nacl_integration, sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=112561
7 years, 8 months ago (2013-03-29 11:42:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yzshen@chromium.org/12567028/1
7 years, 8 months ago (2013-03-29 14:45:07 UTC) #7
commit-bot: I haz the power
Change committed as 191355
7 years, 8 months ago (2013-03-29 14:46:22 UTC) #8
not at google - send to devlin
What is the motivation for this change? Where is the bug? I don't really understand ...
7 years, 8 months ago (2013-04-02 00:38:50 UTC) #9
yzshen1
Thanks, Benjamin! On 2013/04/02 00:38:50, kalman wrote: > What is the motivation for this change? ...
7 years, 8 months ago (2013-04-02 06:06:16 UTC) #10
not at google - send to devlin
Cool, quick response to some of your questions, and then I'll try to read the ...
7 years, 8 months ago (2013-04-02 08:29:46 UTC) #11
yzshen
Thanks for the detailed reply! Please see my inline comments. On Tue, Apr 2, 2013 ...
7 years, 8 months ago (2013-04-03 19:10:16 UTC) #12
not at google - send to devlin
I'll preface this with a few high-level things that may be getting lost here: - ...
7 years, 8 months ago (2013-04-04 05:40:28 UTC) #13
yzshen
Thanks Kalman for the detailed explanation. I will come up with a patch and send ...
7 years, 8 months ago (2013-04-04 17:56:42 UTC) #14
not at google - send to devlin
> > I will come up with a patch and send to you for review. ...
7 years, 8 months ago (2013-04-05 01:07:39 UTC) #15
yzshen
7 years, 8 months ago (2013-04-05 16:18:22 UTC) #16
On Thu, Apr 4, 2013 at 6:07 PM, <kalman@chromium.org> wrote:

>
>
>  I will come up with a patch and send to you for review. It will probably
>> in
>> the next week or the week after that.
>>
>
>  For M28, the only changes at the renderer side that I would like to make
>> is
>> to make it look nicer according to your suggestions.
>>
>
> Thanks. There isn't any rush (i.e. milestone requirement) though I'd like
> to
> simplify the code before make any further changes, if possible.
>
>
>
>  I will do some other work at the browser side to relay requests coming
>> directly from the plugin process to the extension system. This is for
>> those
>> performance-sensitive APIs, for example, chrome.socket. We don't want the
>> requests/responses to travel by way of the renderer process.
>>
>
>  In M29 or later, I will need to come up with a solution for
>> PepperExtensionsCommonHost to call into the JS custom bindings. (As you
>> know, some APIs have part of the implementation as JS code.)
>> I will come up with a design and ask for comments from extension experts
>> then.
>>
>
> Ok. Could you point me at it when you're done?
>
Sure! :)


>
> Thanks again!
>
>
https://codereview.chromium.**org/12567028/<https://codereview.chromium.org/1...
>



-- 
Best regards,
Yuzhu Shen.

Powered by Google App Engine
This is Rietveld 408576698