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

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

Issue 23551005: Revert 219709 "Remove the Extensions URLRequestContext." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/content/public/browser/storage_partition.h
===================================================================
--- trunk/src/content/public/browser/storage_partition.h (revision 219785)
+++ trunk/src/content/public/browser/storage_partition.h (working copy)
@@ -21,7 +21,6 @@
}
namespace net {
-class CookieStore;
class URLRequestContextGetter;
}
@@ -36,9 +35,8 @@
namespace content {
class BrowserContext;
-class CookieStoreMap;
+class IndexedDBContext;
class DOMStorageContext;
-class IndexedDBContext;
// Defines what persistent state a child process can access.
//
@@ -57,8 +55,6 @@
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,
@@ -90,9 +86,16 @@
// 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) = 0;
+ const GURL& storage_origin,
+ net::URLRequestContextGetter* rq_context) = 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 | « trunk/src/content/public/browser/cookie_store_factory.h ('k') | trunk/src/content/public/common/content_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698