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

Unified Diff: content/browser/resource_context_impl.cc

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/resource_context_impl.cc
diff --git a/content/browser/resource_context_impl.cc b/content/browser/resource_context_impl.cc
index f0ebf0fffd61e1cc89e4048bc34873fd51b95dee..8281aea1dbfef7dca3cde1c9fcd623faeb0fd420 100644
--- a/content/browser/resource_context_impl.cc
+++ b/content/browser/resource_context_impl.cc
@@ -277,6 +277,8 @@ void InitializeResourceContext(BrowserContext* browser_context) {
// Add content's URLRequestContext's hooks.
// Check first to avoid memory leak in unittests.
+ // TODO(creis): Do equivalent initializations for isolated app and isolated
+ // media request contexts.
if (BrowserThread::IsMessageLoopValid(BrowserThread::IO)) {
BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE,
@@ -288,7 +290,7 @@ void InitializeResourceContext(BrowserContext* browser_context) {
base::Bind(&InitializeRequestContext,
resource_context,
make_scoped_refptr(
- browser_context->GetRequestContextForMedia())));
+ browser_context->GetMediaRequestContext())));
}
}
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/browser/browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698