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

Issue 24196005: [PPAPI] ResourceVar now holds a pending renderer and browser host ID. (Closed)

Created:
7 years, 3 months ago by Matt Giuca
Modified:
7 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, chrome-apps-syd-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@pepper-resourcerawvardata
Visibility:
Public.

Description

[PPAPI] ResourceVar now holds a pending renderer and browser host ID. It is likely that resources will be backed by a host in the renderer or browser, or both. Therefore, HostResourceVar should provide a consistent way to tell the plugin the pending host IDs. BUG=177017 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225380

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename set_pending_browser_host_id. #

Total comments: 2

Patch Set 3 : Remove unnecessary static_cast. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -8 lines) Patch
M content/renderer/pepper/host_resource_var.h View 1 1 chunk +19 lines, -4 lines 0 comments Download
M content/renderer/pepper/host_resource_var.cc View 1 chunk +15 lines, -2 lines 0 comments Download
M ppapi/proxy/raw_var_data.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/proxy/raw_var_data.cc View 1 2 4 chunks +12 lines, -2 lines 0 comments Download
M ppapi/shared_impl/resource_var.h View 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/shared_impl/resource_var.cc View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Matt Giuca
Hi, Firstly: I'm not sure whether I should put all three of you guys as ...
7 years, 3 months ago (2013-09-24 10:06:01 UTC) #1
yzshen1
On 2013/09/24 10:06:01, Matt Giuca wrote: > Hi, > > Firstly: I'm not sure whether ...
7 years, 3 months ago (2013-09-24 16:50:09 UTC) #2
yzshen1
LGTM with one nit https://codereview.chromium.org/24196005/diff/1/content/renderer/pepper/host_resource_var.h File content/renderer/pepper/host_resource_var.h (right): https://codereview.chromium.org/24196005/diff/1/content/renderer/pepper/host_resource_var.h#newcode41 content/renderer/pepper/host_resource_var.h:41: void SetPendingBrowserHostId(int id) { nit: ...
7 years, 3 months ago (2013-09-24 17:03:30 UTC) #3
raymes
On 2013/09/24 16:50:09, yzshen1 wrote: > On 2013/09/24 10:06:01, Matt Giuca wrote: > > Hi, ...
7 years, 3 months ago (2013-09-24 23:32:22 UTC) #4
raymes
lgtm
7 years, 3 months ago (2013-09-24 23:37:31 UTC) #5
Matt Giuca
Mailed out the document requested to interested parties. https://codereview.chromium.org/24196005/diff/1/content/renderer/pepper/host_resource_var.h File content/renderer/pepper/host_resource_var.h (right): https://codereview.chromium.org/24196005/diff/1/content/renderer/pepper/host_resource_var.h#newcode41 content/renderer/pepper/host_resource_var.h:41: void ...
7 years, 3 months ago (2013-09-25 00:59:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/24196005/8001
7 years, 3 months ago (2013-09-25 01:03:47 UTC) #7
yzshen
Hi, I think Matt's doc is quite clear. Thanks for writing that! On Tue, Sep ...
7 years, 3 months ago (2013-09-25 05:10:00 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=158055
7 years, 3 months ago (2013-09-25 07:20:52 UTC) #9
dmichael (off chromium)
lgtm https://codereview.chromium.org/24196005/diff/8001/ppapi/proxy/raw_var_data.cc File ppapi/proxy/raw_var_data.cc (right): https://codereview.chromium.org/24196005/diff/8001/ppapi/proxy/raw_var_data.cc#newcode716 ppapi/proxy/raw_var_data.cc:716: m->WriteInt(static_cast<int>(pending_browser_host_id_)); These are already int, right? So no ...
7 years, 2 months ago (2013-09-25 21:25:15 UTC) #10
Matt Giuca
https://codereview.chromium.org/24196005/diff/8001/ppapi/proxy/raw_var_data.cc File ppapi/proxy/raw_var_data.cc (right): https://codereview.chromium.org/24196005/diff/8001/ppapi/proxy/raw_var_data.cc#newcode716 ppapi/proxy/raw_var_data.cc:716: m->WriteInt(static_cast<int>(pending_browser_host_id_)); On 2013/09/25 21:25:15, dmichael wrote: > These are ...
7 years, 2 months ago (2013-09-25 23:57:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/24196005/44001
7 years, 2 months ago (2013-09-26 01:13:04 UTC) #12
commit-bot: I haz the power
7 years, 2 months ago (2013-09-26 07:38:35 UTC) #13
Message was sent while issue was closed.
Change committed as 225380

Powered by Google App Engine
This is Rietveld 408576698