Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed)

Created:
8 years, 4 months ago by Charlie Reis
Modified:
8 years, 4 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mihaip-chromium-reviews_chromium.org, jam, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, markusheintz_, nasko
Visibility:
Public.

Description

Ensure that isolated apps use the right cookies for media requests. Also abstract out the media URLRequestContext logic from ProfileImpl. BUG=141172 TEST=Check cookies attached to video tag request inside an isolated app. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152604

Patch Set 1 : Initial version #

Total comments: 8

Patch Set 2 : Fix review comments #

Total comments: 4

Patch Set 3 : Fix nits #

Total comments: 6

Patch Set 4 : Rename GetMediaRequestContext #

Patch Set 5 : Rebase to fix merge conflicts. #

Patch Set 6 : Fix merge conflict. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -81 lines) Patch
M chrome/browser/browsing_data/browsing_data_remover.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/isolated_app_browsertest.cc View 5 chunks +69 lines, -8 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_url_request_context.cc View 1 2 3 4 2 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_impl.cc View 1 2 3 1 chunk +9 lines, -2 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 2 chunks +30 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 2 3 4 5 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 2 3 4 15 chunks +98 lines, -45 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 chunks +34 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 4 5 4 chunks +42 lines, -2 lines 0 comments Download
M chrome/test/base/testing_profile.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/test/base/testing_profile.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
A chrome/test/data/extensions/isolated_apps/app1/app_subresources.html View 1 chunk +24 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/resource_context_impl.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/browser_context.h View 1 2 3 4 1 chunk +9 lines, -4 lines 0 comments Download
M content/public/test/test_browser_context.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/public/test/test_browser_context.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M content/shell/shell_browser_context.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M content/shell/shell_browser_context.cc View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Charlie Reis
Albert, can you take a look?
8 years, 4 months ago (2012-08-17 18:05:10 UTC) #1
awong
Looks pretty good! I like the unittests. Had a few comments. https://chromiumcodereview.appspot.com/10836305/diff/1023/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): ...
8 years, 4 months ago (2012-08-17 18:23:16 UTC) #2
Charlie Reis
https://chromiumcodereview.appspot.com/10836305/diff/1023/chrome/browser/browsing_data/browsing_data_remover.cc File chrome/browser/browsing_data/browsing_data_remover.cc (right): https://chromiumcodereview.appspot.com/10836305/diff/1023/chrome/browser/browsing_data/browsing_data_remover.cc#newcode115 chrome/browser/browsing_data/browsing_data_remover.cc:115: media_context_getter_(profile->GetRequestContextForMedia(-1)), On 2012/08/17 18:23:16, awong wrote: > Ick...on the ...
8 years, 4 months ago (2012-08-17 21:04:38 UTC) #3
awong
LGTM w/nits http://codereview.chromium.org/10836305/diff/10002/chrome/browser/profiles/profile_impl.cc File chrome/browser/profiles/profile_impl.cc (right): http://codereview.chromium.org/10836305/diff/10002/chrome/browser/profiles/profile_impl.cc#newcode717 chrome/browser/profiles/profile_impl.cc:717: if (installed_app != NULL && installed_app->is_storage_isolated()) nit: ...
8 years, 4 months ago (2012-08-20 19:46:28 UTC) #4
Charlie Reis
Thanks, fixed. On to owners... Will, can you review chrome/browser/net and chrome/browser/profiles? This mimics what ...
8 years, 4 months ago (2012-08-20 20:21:01 UTC) #5
Matt Perry
extensions LGTM
8 years, 4 months ago (2012-08-20 20:40:23 UTC) #6
willchan no longer on Chromium
https://chromiumcodereview.appspot.com/10836305/diff/13003/chrome/browser/net/chrome_url_request_context.cc File chrome/browser/net/chrome_url_request_context.cc (right): https://chromiumcodereview.appspot.com/10836305/diff/13003/chrome/browser/net/chrome_url_request_context.cc#newcode99 chrome/browser/net/chrome_url_request_context.cc:99: // Takes the |main_context| so that it can create ...
8 years, 4 months ago (2012-08-20 23:04:50 UTC) #7
Charlie Reis
Thanks, new patch uploaded. https://chromiumcodereview.appspot.com/10836305/diff/13003/chrome/browser/net/chrome_url_request_context.cc File chrome/browser/net/chrome_url_request_context.cc (right): https://chromiumcodereview.appspot.com/10836305/diff/13003/chrome/browser/net/chrome_url_request_context.cc#newcode99 chrome/browser/net/chrome_url_request_context.cc:99: // Takes the |main_context| so ...
8 years, 4 months ago (2012-08-20 23:49:43 UTC) #8
willchan no longer on Chromium
lgtm
8 years, 4 months ago (2012-08-21 00:26:29 UTC) #9
sky
LGTM
8 years, 4 months ago (2012-08-21 02:51:27 UTC) #10
Mike West
On 2012/08/20 20:21:01, creis wrote: > Mike, can you review chrome/browser/browsing_data for OWNERS? browsing_data LGTM. ...
8 years, 4 months ago (2012-08-21 04:22:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10836305/6028
8 years, 4 months ago (2012-08-21 16:37:25 UTC) #12
commit-bot: I haz the power
8 years, 4 months ago (2012-08-21 19:07:11 UTC) #13
Change committed as 152604

Powered by Google App Engine
This is Rietveld 408576698