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

Issue 11705003: Change PepperFlashBrowserHost to use CookieSettings to get the LSO settings (Closed)

Created:
7 years, 12 months ago by raymes
Modified:
7 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Change PepperFlashBrowserHost to use CookieSettings to get the LSO settings This changes the PepperFlashBrowserHost to use CookieSettings to get the LSO settings as opposed to using the resource context and going through the ChromeContentBrowserClient. The CookieSettings are thread-safe refcounted (as opposed to the ResourceContext) so they are safe to access even after the profile is destroyed which should fix the associated bug. This also removes the now unused functions in ChromeContentBrowserClient. TBR=brettw for content/public/browser/* BUG=167353 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174781

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Patch Set 5 : #

Total comments: 3

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 2

Patch Set 13 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -84 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_flash_browser_host.h View 1 2 3 4 5 6 7 8 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +30 lines, -29 lines 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -15 lines 0 comments Download
M content/public/browser/content_browser_client.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
raymes
PTAL. It's complicated but unfortunately I think it's necessary complexity. I looked hard for a ...
7 years, 12 months ago (2012-12-29 01:23:58 UTC) #1
yzshen1
https://codereview.chromium.org/11705003/diff/2001/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc File chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc (right): https://codereview.chromium.org/11705003/diff/2001/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc#newcode100 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc:100: void PepperFlashBrowserHost::OnGetLocalDataRestrictions( Nit, optional: maybe OnLocalDataRestrictionsRetrieved() or something like ...
7 years, 12 months ago (2012-12-29 02:04:05 UTC) #2
raymes
https://codereview.chromium.org/11705003/diff/9003/chrome/browser/renderer_host/pepper/flash_lso_settings_helper.cc File chrome/browser/renderer_host/pepper/flash_lso_settings_helper.cc (right): https://codereview.chromium.org/11705003/diff/9003/chrome/browser/renderer_host/pepper/flash_lso_settings_helper.cc#newcode26 chrome/browser/renderer_host/pepper/flash_lso_settings_helper.cc:26: PP_FLASHLSORESTRICTIONS_NONE; Yes - I actually checked this with bauerb. ...
7 years, 12 months ago (2012-12-29 03:21:56 UTC) #3
yzshen1
LGTM with a few nits. (I noticed that there are a few comments on patchset ...
7 years, 11 months ago (2012-12-29 19:13:40 UTC) #4
raymes
Sorry I missed the comments on the earlier patchset. Addressed them now. https://codereview.chromium.org/11705003/diff/2001/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc File chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc ...
7 years, 11 months ago (2012-12-29 21:15:40 UTC) #5
raymes
TBR=brettw for chrome_browser.gypi
7 years, 11 months ago (2012-12-29 21:16:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/11705003/20003
7 years, 11 months ago (2012-12-29 21:17:11 UTC) #7
Bernhard Bauer
Drive-by review! I think this can be done a lot easier. You live in chrome/, ...
7 years, 11 months ago (2012-12-30 00:32:57 UTC) #8
raymes
Ah it makes sense now! Thanks!! I updated the patchset. PTAL.
7 years, 11 months ago (2012-12-30 02:01:04 UTC) #9
Bernhard Bauer
LGTM w/ one additional DCHECK: https://codereview.chromium.org/11705003/diff/26004/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc File chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc (right): https://codereview.chromium.org/11705003/diff/26004/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc#newcode143 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc:143: cookie_settings_ = cookie_settings; Could ...
7 years, 11 months ago (2012-12-30 02:19:00 UTC) #10
raymes
https://codereview.chromium.org/11705003/diff/26004/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc File chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc (right): https://codereview.chromium.org/11705003/diff/26004/chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc#newcode143 chrome/browser/renderer_host/pepper/pepper_flash_browser_host.cc:143: cookie_settings_ = cookie_settings; On 2012/12/30 02:19:00, Bernhard Bauer wrote: ...
7 years, 11 months ago (2012-12-30 05:39:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/11705003/35001
7 years, 11 months ago (2012-12-30 21:42:28 UTC) #12
commit-bot: I haz the power
Presubmit check for 11705003-35001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2012-12-30 21:42:32 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/11705003/35001
7 years, 11 months ago (2012-12-30 21:42:58 UTC) #14
commit-bot: I haz the power
Presubmit check for 11705003-35001 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2012-12-30 21:43:02 UTC) #15
commit-bot: I haz the power
7 years, 11 months ago (2012-12-30 21:46:48 UTC) #16

Powered by Google App Engine
This is Rietveld 408576698