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

Unified Diff: content/browser/in_process_webkit/indexed_db_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/indexed_db_context_impl.h
===================================================================
--- content/browser/in_process_webkit/indexed_db_context_impl.h (revision 123509)
+++ content/browser/in_process_webkit/indexed_db_context_impl.h (working copy)
@@ -19,7 +19,6 @@
class GURL;
class FilePath;
-class WebKitContext;
namespace WebKit {
class WebIDBFactory;
@@ -37,7 +36,8 @@
class CONTENT_EXPORT IndexedDBContextImpl
: NON_EXPORTED_BASE(public content::IndexedDBContext) {
public:
- IndexedDBContextImpl(WebKitContext* webkit_context,
+ // If |data_path| is empty, nothing will be saved to disk.
+ IndexedDBContextImpl(const FilePath& data_path,
quota::SpecialStoragePolicy* special_storage_policy,
quota::QuotaManagerProxy* quota_manager_proxy,
base::MessageLoopProxy* webkit_thread_loop);
@@ -78,6 +78,8 @@
quota::QuotaManagerProxy* quota_manager_proxy();
+ FilePath data_path() const { return data_path_; }
+
// For unit tests allow to override the |data_path_|.
void set_data_path_for_testing(const FilePath& data_path) {
data_path_ = data_path;

Powered by Google App Engine
This is Rietveld 408576698