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

Issue 10387195: Open pepper files directly in browser. (Closed)

Created:
8 years, 7 months ago by Tom Sepez
Modified:
8 years, 6 months ago
Reviewers:
yzshen, brettw, yzshen1
CC:
chromium-reviews, joi+watch-content_chromium.org, jam, darin-cc_chromium.org, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Open pepper files directly in browser. This CL merges in the changes for the per-profile plugin process from the previously retired CL. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140093 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140399 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=140602

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 3

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : Open pepper files directly in browser (take 2). #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : Open the pepper files directly in the browser. #

Patch Set 16 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+358 lines, -645 lines) Patch
M chrome/common/all_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +10 lines, -3 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +12 lines, -5 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +32 lines, -18 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10 chunks +41 lines, -19 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M content/common/content_message_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
D content/common/pepper_file_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -75 lines 0 comments Download
D content/common/pepper_file_messages.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -39 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +9 lines, -9 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 9 chunks +10 lines, -10 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy_untrusted.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -1 line 0 comments Download
A + ppapi/proxy/pepper_file_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +20 lines, -17 lines 0 comments Download
A + ppapi/proxy/pepper_file_messages.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +40 lines, -11 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -32 lines 0 comments Download
M ppapi/proxy/ppb_flash_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -24 lines 0 comments Download
M ppapi/proxy/ppb_flash_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +97 lines, -175 lines 2 comments Download
A + ppapi/shared_impl/dir_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -5 lines 0 comments Download
A + ppapi/shared_impl/file_path.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +8 lines, -12 lines 0 comments Download
A + ppapi/shared_impl/file_path.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -7 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -3 lines 0 comments Download
D webkit/plugins/ppapi/dir_contents.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -25 lines 0 comments Download
D webkit/plugins/ppapi/file_path.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -51 lines 0 comments Download
D webkit/plugins/ppapi/file_path.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -55 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +18 lines, -12 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -8 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +20 lines, -14 lines 0 comments Download
M webkit/plugins/ppapi/ppb_flash_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10 chunks +18 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Tom Sepez
Brett, PTAL. This is a less disruptive version of what we'd been discussing, the main ...
8 years, 7 months ago (2012-05-23 20:39:25 UTC) #1
brettw
Sorry I took so long http://codereview.chromium.org/10387195/diff/27027/content/browser/renderer_host/pepper_file_message_filter.cc File content/browser/renderer_host/pepper_file_message_filter.cc (right): http://codereview.chromium.org/10387195/diff/27027/content/browser/renderer_host/pepper_file_message_filter.cc#newcode226 content/browser/renderer_host/pepper_file_message_filter.cc:226: if (pepper_path.path().IsAbsolute() && Indent ...
8 years, 6 months ago (2012-05-29 18:14:15 UTC) #2
Tom Sepez
Brett, This latest CL moves the PepperFilePath from webkit/ppapi to ppapi/shared_impl, moves pepper_file_messages to ppapi/proxy, ...
8 years, 6 months ago (2012-05-30 20:21:36 UTC) #3
brettw
LGTM. None of the flash file I/O functions will work in process anymore, right? Can ...
8 years, 6 months ago (2012-05-31 22:36:11 UTC) #4
Tom Sepez
These will work in-process so long as there is explicit permission for the renderer to ...
8 years, 6 months ago (2012-05-31 22:42:36 UTC) #5
brettw
okay
8 years, 6 months ago (2012-05-31 22:43:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/10387195/39027
8 years, 6 months ago (2012-06-01 19:52:37 UTC) #7
commit-bot: I haz the power
Failed to apply patch for ppapi/proxy/pepper_file_messages.cc: While running patch -p0 --forward --force; patching file ppapi/proxy/pepper_file_messages.cc ...
8 years, 6 months ago (2012-06-01 19:53:44 UTC) #8
Tom Sepez
Open pepper files directly in browser (take 2).
8 years, 6 months ago (2012-06-01 22:04:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tsepez@chromium.org/10387195/71001
8 years, 6 months ago (2012-06-04 19:14:28 UTC) #10
commit-bot: I haz the power
Failed to apply patch for ppapi/proxy/pepper_file_messages.cc: While running patch -p0 --forward --force; patching file ppapi/proxy/pepper_file_messages.cc ...
8 years, 6 months ago (2012-06-04 19:14:54 UTC) #11
Tom Sepez
Open the pepper files directly in the browser.
8 years, 6 months ago (2012-06-04 23:01:07 UTC) #12
yzshen1
https://chromiumcodereview.appspot.com/10387195/diff/96001/ppapi/proxy/ppb_flash_proxy.cc File ppapi/proxy/ppb_flash_proxy.cc (right): https://chromiumcodereview.appspot.com/10387195/diff/96001/ppapi/proxy/ppb_flash_proxy.cc#newcode663 ppapi/proxy/ppb_flash_proxy.cc:663: g_module_local_thread_adapter = new ModuleLocalThreadAdapter(); The code no longer uses ...
8 years, 6 months ago (2012-06-06 16:56:37 UTC) #13
Tom Sepez
So should we make SendToBrowser() post a task to the appropriate thread? Or do you ...
8 years, 6 months ago (2012-06-06 17:07:57 UTC) #14
yzshen1
On 2012/06/06 17:07:57, Tom Sepez wrote: > So should we make SendToBrowser() post a task ...
8 years, 6 months ago (2012-06-06 17:13:49 UTC) #15
Tom Sepez
Is more required than changing PpapiThread::SendToBrowser() along the lines of: bool PpapiThread::SendToBrowser(IPC::Message* msg) { - ...
8 years, 6 months ago (2012-06-06 23:04:30 UTC) #16
brettw
I *think* that will work.
8 years, 6 months ago (2012-06-06 23:06:29 UTC) #17
yzshen1
8 years, 6 months ago (2012-06-06 23:25:56 UTC) #18
yzshen
8 years, 6 months ago (2012-06-06 23:28:37 UTC) #19
(Somehow my reply disappeared.)

Previously, PpapiGlobals and PpapiThread are expected to be used on a
single thread. We may want to add comments about threading for them.

On Wed, Jun 6, 2012 at 4:25 PM, <yzshen@chromium.org> wrote:

>
http://codereview.chromium.**org/10387195/<http://codereview.chromium.org/103...
>



-- 
Best regards,
Yuzhu Shen.

Powered by Google App Engine
This is Rietveld 408576698