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

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: most unittests pass Created 7 years, 5 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 bd7f90cb6a25a561b1cc6655352629a735a2862d..d5db3105cb12feb804f1e359a2c10e5b061a2e3f 100644
--- a/content/public/browser/storage_partition.h
+++ b/content/public/browser/storage_partition.h
@@ -35,8 +35,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 +56,7 @@ class StoragePartition {
virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0;
virtual DOMStorageContext* GetDOMStorageContext() = 0;
virtual IndexedDBContext* GetIndexedDBContext() = 0;
+ virtual const CookieStoreMap& GetCookieStoreMap() = 0;
enum StorageMask {
kCookies = 1 << 0,
@@ -82,16 +84,9 @@ class StoragePartition {
// corresonding to the given |storage_mask| inside this StoragePartition for
// the given |storage_origin|. Note kSessionDomStorage is not cleared and the
// mask is ignored.
- //
- // 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 AsyncClearDataForOrigin(
uint32 storage_mask,
- const GURL& storage_origin,
- net::URLRequestContextGetter* request_context_getter) = 0;
+ const GURL& storage_origin) = 0;
// Similar to AsyncClearDataForOrigin(), but deletes all data out of the
// StoragePartition rather than just the data related to this origin.

Powered by Google App Engine
This is Rietveld 408576698