| Index: chrome/browser/profile.h
|
| diff --git a/chrome/browser/profile.h b/chrome/browser/profile.h
|
| index 8f513aef2b181ea19712aeb1004dbdeb429a276e..8c938867389dfe707fd7414e965de01f1a976787 100644
|
| --- a/chrome/browser/profile.h
|
| +++ b/chrome/browser/profile.h
|
| @@ -162,6 +162,10 @@ class Profile {
|
| // keep it alive longer than the profile) must Release() it on the I/O thread.
|
| virtual URLRequestContext* GetRequestContext() = 0;
|
|
|
| + // Returns the request context for media resources asociated with this
|
| + // profile.
|
| + virtual URLRequestContext* GetRequestContextForMedia() = 0;
|
| +
|
| // Returns the session service for this profile. This may return NULL. If
|
| // this profile supports a session service (it isn't off the record), and
|
| // the session service hasn't yet been created, this forces creation of
|
| @@ -277,6 +281,7 @@ class ProfileImpl : public Profile,
|
| virtual DownloadManager* GetDownloadManager();
|
| virtual bool HasCreatedDownloadManager() const;
|
| virtual URLRequestContext* GetRequestContext();
|
| + virtual URLRequestContext* GetRequestContextForMedia();
|
| virtual SessionService* GetSessionService();
|
| virtual void ShutdownSessionService();
|
| virtual bool HasSessionService() const;
|
| @@ -342,6 +347,8 @@ class ProfileImpl : public Profile,
|
|
|
| ChromeURLRequestContext* request_context_;
|
|
|
| + ChromeURLRequestContext* media_request_context_;
|
| +
|
| scoped_refptr<DownloadManager> download_manager_;
|
| scoped_refptr<HistoryService> history_service_;
|
| scoped_refptr<WebDataService> web_data_service_;
|
|
|