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

Unified Diff: content/public/browser/browser_context.h

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: Initial version 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
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index cfe4d53f5e396675460b1fb31f34bdbb0f0b9c68..875e30326fe839611ea510776f397265100a3991 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -101,8 +101,10 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int renderer_child_id) = 0;
// Returns the request context for media resources associated with this
+ // context and renderer process. Pass -1 for the default media request
// context.
- virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0;
+ virtual net::URLRequestContextGetter* GetRequestContextForMedia(
+ int renderer_child_id) = 0;
// Returns the resource context.
virtual ResourceContext* GetResourceContext() = 0;

Powered by Google App Engine
This is Rietveld 408576698