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

Unified Diff: content/browser/in_process_webkit/dom_storage_context_impl.h

Issue 9467016: Get rid of WebKitContext. Only two out of six HTML5 related objects were in it and it was just a gl… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix bug Created 8 years, 10 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/browser/in_process_webkit/dom_storage_context_impl.h
===================================================================
--- content/browser/in_process_webkit/dom_storage_context_impl.h (revision 123509)
+++ content/browser/in_process_webkit/dom_storage_context_impl.h (working copy)
@@ -18,13 +18,12 @@
class DOMStorageArea;
class DOMStorageMessageFilter;
class DOMStorageNamespace;
-class WebKitContext;
namespace quota {
class SpecialStoragePolicy;
}
-// This is owned by WebKitContext and is all the dom storage information that's
+// This is owned by BrowserContext and is all the dom storage information that's
// shared by all the DOMStorageMessageFilters that share the same browser
// context. The specifics of responsibilities are fairly well documented here
// and in StorageNamespace and StorageArea. Everything is only to be accessed
@@ -32,7 +31,8 @@
class CONTENT_EXPORT DOMStorageContextImpl :
NON_EXPORTED_BASE(public content::DOMStorageContext) {
public:
- DOMStorageContextImpl(WebKitContext* webkit_context,
+ // If |data_path| is empty, nothing will be saved to disk.
+ DOMStorageContextImpl(const FilePath& data_path,
quota::SpecialStoragePolicy* special_storage_policy);
virtual ~DOMStorageContextImpl();

Powered by Google App Engine
This is Rietveld 408576698