Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index 4258125b38b7a62df45080d05b5dc588596bafd9..75f6154a29ec3899b7100cb731cdae00194e5f71 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -10,10 +10,6 @@ |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
-namespace fileapi { |
-class FileSystemContext; |
-} |
- |
namespace net { |
class URLRequestContextGetter; |
} |
@@ -48,8 +44,6 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
static DownloadManager* GetDownloadManager(BrowserContext* browser_context); |
static IndexedDBContext* GetIndexedDBContext(BrowserContext* browser_context); |
- static fileapi::FileSystemContext* GetFileSystemContext( |
- BrowserContext* browser_context); |
static content::StoragePartition* GetStoragePartition( |
BrowserContext* browser_context, SiteInstance* site_instance); |
@@ -81,6 +75,8 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
virtual ~BrowserContext(); |
// Returns the path of the directory where this context's data is stored. |
+ // TODO(ajwong): This accessor needs to go away. Instead, people should get |
+ // the path from the StoragePartition. |
virtual FilePath GetPath() = 0; |
// Return whether this context is incognito. Default is false. |
@@ -112,6 +108,9 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
// context and renderer process. |
virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
int renderer_child_id) = 0; |
+ virtual net::URLRequestContextGetter* |
+ GetMediaRequestContextForStoragePartition( |
+ const std::string& partition_id) = 0; |
// Returns the resource context. |
virtual ResourceContext* GetResourceContext() = 0; |