diff options
author | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 19:07:08 +0000 |
---|---|---|
committer | creis@chromium.org <creis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-21 19:07:08 +0000 |
commit | 10705a7b86405ba171f4b4237e43f70757b00441 (patch) | |
tree | 4ba50ed0f81684cd33d916dec0cd2da3eecf67e6 /chrome/browser/net/chrome_url_request_context.h | |
parent | f84278cd1a26aff14aff8d169b68b1edee950591 (diff) | |
download | chromium_src-10705a7b86405ba171f4b4237e43f70757b00441.zip chromium_src-10705a7b86405ba171f4b4237e43f70757b00441.tar.gz chromium_src-10705a7b86405ba171f4b4237e43f70757b00441.tar.bz2 |
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.
Review URL: https://chromiumcodereview.appspot.com/10836305
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/chrome_url_request_context.h')
-rw-r--r-- | chrome/browser/net/chrome_url_request_context.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h index 248123e..7d20f4e 100644 --- a/chrome/browser/net/chrome_url_request_context.h +++ b/chrome/browser/net/chrome_url_request_context.h @@ -146,6 +146,13 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter, const ProfileIOData* profile_io_data, const std::string& app_id); + // Create an instance for an original profile for media with isolated + // storage. This is expected to get called on UI thread. + static ChromeURLRequestContextGetter* CreateOriginalForIsolatedMedia( + Profile* profile, + const ProfileIOData* profile_io_data, + const std::string& app_id); + // Create an instance for use with an OTR profile. This is expected to get // called on the UI thread. static ChromeURLRequestContextGetter* CreateOffTheRecord( |