Index: content/browser/in_process_webkit/indexed_db_context.h |
diff --git a/content/browser/in_process_webkit/indexed_db_context.h b/content/browser/in_process_webkit/indexed_db_context.h |
index 2bd32e500405d5b363c84799975cd93cb739a156..be23e0d5a27759cfe3dd313d755ef1be0c120f37 100644 |
--- a/content/browser/in_process_webkit/indexed_db_context.h |
+++ b/content/browser/in_process_webkit/indexed_db_context.h |
@@ -10,6 +10,7 @@ |
#include "base/file_path.h" |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
+#include "content/browser/browser_thread.h" |
class GURL; |
class FilePath; |
@@ -19,14 +20,24 @@ namespace WebKit { |
class WebIDBFactory; |
} |
+namespace base { |
+class MessageLoopProxy; |
+} |
+ |
namespace quota { |
+class QuotaManagerProxy; |
class SpecialStoragePolicy; |
} |
-class IndexedDBContext { |
+class IndexedDBContext : |
+ public base::RefCountedThreadSafe<IndexedDBContext, |
+ BrowserThread::DeleteOnWebKitThread> { |
public: |
IndexedDBContext(WebKitContext* webkit_context, |
- quota::SpecialStoragePolicy* special_storage_policy); |
+ quota::SpecialStoragePolicy* special_storage_policy, |
+ quota::QuotaManagerProxy* quota_manager_proxy, |
+ base::MessageLoopProxy* webkit_thread_loop); |
+ |
~IndexedDBContext(); |
WebKit::WebIDBFactory* GetIDBFactory(); |
@@ -69,6 +80,8 @@ class IndexedDBContext { |
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
+ scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
+ |
DISALLOW_COPY_AND_ASSIGN(IndexedDBContext); |
}; |