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

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

Issue 10909182: Make FileSystemContext respect StoragePartitions. filesystem:// urls will be properly isolated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove useless headers. Created 8 years, 3 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 | « content/browser/worker_host/worker_storage_partition.cc ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 275ad420238d05a632ea391651d2e5bc7d5fa0fe..16a2ea59f100bba4827263295f88743ba4732c99 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;
}
@@ -47,8 +43,6 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
StoragePartitionCallback;
static DownloadManager* GetDownloadManager(BrowserContext* browser_context);
- static fileapi::FileSystemContext* GetFileSystemContext(
- BrowserContext* browser_context);
static content::StoragePartition* GetStoragePartition(
BrowserContext* browser_context, SiteInstance* site_instance);
@@ -111,6 +105,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;
« no previous file with comments | « content/browser/worker_host/worker_storage_partition.cc ('k') | content/public/browser/storage_partition.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698