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

Unified Diff: content/public/browser/storage_partition.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: patch unittest fix from michael 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
Index: content/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index d7c13630cd7414d5676f6f1cfe30c012dfb1089b..0a1f8e23a7e01471b9039b29c0053e11c4a2272e 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -15,6 +15,10 @@ namespace fileapi {
class FileSystemContext;
}
+namespace net {
+class URLRequestContextGetter;
+}
+
namespace quota {
class QuotaManager;
}
@@ -37,6 +41,9 @@ class DOMStorageContext;
// the cookies, localStorage, etc., that normal web renderers have access to.
class StoragePartition {
public:
+ virtual FilePath GetPath() = 0;
+ virtual net::URLRequestContextGetter* GetURLRequestContext() = 0;
+ virtual net::URLRequestContextGetter* GetMediaURLRequestContext() = 0;
virtual quota::QuotaManager* GetQuotaManager() = 0;
virtual appcache::AppCacheService* GetAppCacheService() = 0;
virtual fileapi::FileSystemContext* GetFileSystemContext() = 0;

Powered by Google App Engine
This is Rietveld 408576698