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

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

Issue 12546016: Remove the Extensions URLRequestContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android webview init fix merged in. Created 7 years, 4 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/public/browser/cookie_store_factory.h ('k') | content/public/common/content_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/storage_partition.h
diff --git a/content/public/browser/storage_partition.h b/content/public/browser/storage_partition.h
index b30ca426f83f0a3a7435160d67f6f73543c25620..60242f67aa656ffedc33ddfd4f57187d3649b2ba 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -21,6 +21,7 @@ class FileSystemContext;
}
namespace net {
+class CookieStore;
class URLRequestContextGetter;
}
@@ -35,8 +36,9 @@ class DatabaseTracker;
namespace content {
class BrowserContext;
-class IndexedDBContext;
+class CookieStoreMap;
class DOMStorageContext;
+class IndexedDBContext;
// Defines what persistent state a child process can access.
//
@@ -55,6 +57,8 @@ class StoragePartition {
virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
virtual DOMStorageContext* GetDOMStorageContext() = 0;
virtual IndexedDBContext* GetIndexedDBContext() = 0;
+ virtual net::CookieStore* GetCookieStoreForScheme(
+ const std::string& scheme) = 0;
enum RemoveDataMask {
REMOVE_DATA_MASK_APPCACHE = 1 << 0,
@@ -86,16 +90,9 @@ class StoragePartition {
// inside this StoragePartition for the given |storage_origin|.
// Note session dom storage is not cleared even if you specify
// REMOVE_DATA_MASK_LOCAL_STORAGE.
- //
- // TODO(ajwong): Right now, the embedder may have some
- // URLRequestContextGetter objects that the StoragePartition does not know
- // about. This will no longer be the case when we resolve
- // http://crbug.com/159193. Remove |request_context_getter| when that bug
- // is fixed.
virtual void ClearDataForOrigin(uint32 remove_mask,
uint32 quota_storage_remove_mask,
- const GURL& storage_origin,
- net::URLRequestContextGetter* rq_context) = 0;
+ const GURL& storage_origin) = 0;
// Similar to ClearDataForOrigin(), but deletes all data out of the
// StoragePartition rather than just the data related to this origin.
« no previous file with comments | « content/public/browser/cookie_store_factory.h ('k') | content/public/common/content_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698