Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index 2acf4005eb33556610d2729c6167c50568232e7c..53daea50b505988e0b1346c507089cfe723f41b4 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -102,20 +102,25 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
// Returns the request context information associated with this context. Call |
// this only on the UI thread, since it can send notifications that should |
// happen on the UI thread. |
+ // TODO(creis): Remove this version in favor of the one below. |
virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
// Returns the request context appropriate for the given renderer. If the |
// renderer process doesn't have an associated installed app, or if the |
// installed app's is_storage_isolated() returns false, this is equivalent to |
// calling GetRequestContext(). |
- // TODO(creis): After isolated app storage is no longer an experimental |
- // feature, consider making this the default contract for GetRequestContext. |
virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
int renderer_child_id) = 0; |
+ // Returns the default request context for media resources associated with |
+ // this context. |
+ // TODO(creis): Remove this version in favor of the one below. |
+ virtual net::URLRequestContextGetter* GetMediaRequestContext() = 0; |
+ |
// Returns the request context for media resources associated with this |
- // context. |
- virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
+ // context and renderer process. |
+ virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
+ int renderer_child_id) = 0; |
// Returns the resource context. |
virtual ResourceContext* GetResourceContext() = 0; |