Chromium Code Reviews| 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..789090b2d266ff2a61234f7fd340771264a1a6fb 100644 |
| --- a/content/browser/in_process_webkit/indexed_db_context.h |
| +++ b/content/browser/in_process_webkit/indexed_db_context.h |
| @@ -19,14 +19,22 @@ namespace WebKit { |
| class WebIDBFactory; |
| } |
| +namespace base { |
| +class MessageLoopProxy; |
| +} |
| + |
| namespace quota { |
| +class QuotaManagerProxy; |
| class SpecialStoragePolicy; |
| } |
| -class IndexedDBContext { |
| +class IndexedDBContext : public base::RefCountedThreadSafe<IndexedDBContext> { |
|
michaeln
2011/05/26 03:48:41
: public base::RefCountedThreadSafe<IndexedDBConte
dgrogan
2011/05/26 05:41:19
Thanks for pointing this out, writing my own Trait
|
| 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 +77,8 @@ class IndexedDBContext { |
| scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_; |
| + scoped_refptr<quota::QuotaManagerProxy> quota_manager_proxy_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(IndexedDBContext); |
| }; |