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

Unified Diff: chrome/browser/net/chrome_url_request_context.h

Issue 42467: Fix an invalid DCHECK for media request context (Closed)
Patch Set: rvargas & aa's comments Created 11 years, 9 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 | « no previous file | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index df8cc9b6544b0d69cf2167e886347a74337f70db..2215199ab789e0cd27d306b55669f222f3db387e 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -61,6 +61,12 @@ class ChromeURLRequestContext : public URLRequestContext,
// expected to be called on the UI thread.
ChromeURLRequestContext(Profile* profile);
+ // Create a request context for media resources from a regular request
+ // context. This helper method is called from CreateOriginalForMedia and
+ // CreateOffTheRecordForMedia.
+ static ChromeURLRequestContext* CreateRequestContextForMedia(Profile* profile,
+ const FilePath& disk_cache_path);
+
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
const NotificationSource& source,
« no previous file with comments | « no previous file | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698