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

Issue 10391173: Pepper Flash settings integration: implement "deauthorize content licenses". (Closed)

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

Description

Pepper Flash settings integration: implement "deauthorize content licenses". A few notes about PepperFlashSettingsManager: - It doesn't re-establish a channel for each request. It might seem unnecessary at this point. But that is needed for implementing content settings (camera/mic and peer networking), which requires more interactions with the broker process. - Similarly, the support of multiple in-flight requests isn't very useful for deauthorizing content licenses, but that is useful for content settings, e.g., sending multiple GetPermissionSettings requests for different setting types. BUG=112190 TEST=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139210

Patch Set 1 #

Total comments: 2

Patch Set 2 : Changes in response to Brett's suggestions. #

Patch Set 3 : Fix deps violation. #

Patch Set 4 : Fix padding. #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+887 lines, -18 lines) Patch
M chrome/browser/browsing_data_remover.h View 6 chunks +14 lines, -2 lines 0 comments Download
M chrome/browser/browsing_data_remover.cc View 6 chunks +21 lines, -1 line 0 comments Download
M chrome/browser/pepper_flash_settings_manager.h View 1 2 3 3 chunks +52 lines, -1 line 0 comments Download
M chrome/browser/pepper_flash_settings_manager.cc View 1 2 2 chunks +350 lines, -0 lines 0 comments Download
A content/browser/pepper_flash_settings_helper_impl.h View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A content/browser/pepper_flash_settings_helper_impl.cc View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.cc View 2 chunks +2 lines, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M content/ppapi_plugin/broker_process_dispatcher.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/ppapi_plugin/broker_process_dispatcher.cc View 5 chunks +35 lines, -7 lines 0 comments Download
A content/public/browser/pepper_flash_settings_helper.h View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
M content/public/common/content_constants.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/content_constants.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/api/private/ppp_flash_browser_operations.idl View 1 2 3 2 chunks +104 lines, -2 lines 0 comments Download
M ppapi/c/private/ppp_flash_browser_operations.h View 1 2 3 4 chunks +129 lines, -4 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 3 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
yzshen1
Hi, Brett. Would you please take a look? Thanks! A few notes: - The IDL ...
8 years, 7 months ago (2012-05-16 21:40:53 UTC) #1
brettw
I don't quite follow why you maintain multiple in-flight clear requests. Can you add some ...
8 years, 7 months ago (2012-05-17 04:53:54 UTC) #2
yzshen1
Thanks, Brett! > I don't quite follow why you maintain multiple in-flight clear requests. Can ...
8 years, 7 months ago (2012-05-17 07:31:26 UTC) #3
brettw
lgtm
8 years, 7 months ago (2012-05-18 05:32:09 UTC) #4
jam
is there no way to do this change in a different way? the flash stuff ...
8 years, 6 months ago (2012-05-30 01:41:39 UTC) #5
yzshen1
On 2012/05/30 01:41:39, John Abd-El-Malek wrote: > is there no way to do this change ...
8 years, 6 months ago (2012-05-30 07:14:11 UTC) #6
yzshen1
8 years, 6 months ago (2012-05-30 07:18:49 UTC) #7
One more thing:
Does it look better if I expose a generic API to connect to a ppapi broker
process (in content/public/browser/plugin_service.h)?

On 2012/05/30 07:14:11, yzshen1 wrote:
> On 2012/05/30 01:41:39, John Abd-El-Malek wrote:
> > is there no way to do this change in a different way? the flash stuff
doesn't
> > belong in content/public/browser. i.e. can chrome code inject its own
> interface
> > in some src/ppapi file?
> 
> I would be very happy to make it right. (And sorry for messing up things.)
> 
> I am not quite sure I understand "chrome code inject its own interface in some
> src/ppapi file". Would you please talk more about it? (Or I could stop by your
> desk if that would save you some time.)
> 
> The following are the reasons why I did it this way: (may be wrong)
> 1) the ability to start/connect to a ppapi broker process lives in content/.
> 2) now that we are integrating Pepper Flash settings into chrome://settings,
the
> logic to manipulate Pepper Flash settings (or at least part of it) should live
> in chrome/browser/.
> 3) in order to manipulate Pepper Flash settings, we have to start/connect to a
> Flash broker process.
> 4) considering (1) (2) and (3), we need to expose some kind of interface in
> content/public.
> 
> Thanks for your help! :)

Powered by Google App Engine
This is Rietveld 408576698