| Index: content/browser/in_process_webkit/indexed_db_context.cc
|
| diff --git a/content/browser/in_process_webkit/indexed_db_context.cc b/content/browser/in_process_webkit/indexed_db_context.cc
|
| index f9722ec2be90118d04bcc8ea534144c72dd82c01..23c5214511cedf335a85cf587d396c4fde1b23fa 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_context.cc
|
| +++ b/content/browser/in_process_webkit/indexed_db_context.cc
|
| @@ -6,9 +6,11 @@
|
|
|
| #include "base/file_util.h"
|
| #include "base/logging.h"
|
| +#include "base/message_loop_proxy.h"
|
| #include "base/string_util.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "content/browser/browser_thread.h"
|
| +#include "content/browser/in_process_webkit/indexed_db_quota_client.h"
|
| #include "content/browser/in_process_webkit/webkit_context.h"
|
| #include "googleurl/src/gurl.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h"
|
| @@ -17,6 +19,7 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
|
| #include "webkit/glue/webkit_glue.h"
|
| +#include "webkit/quota/quota_manager.h"
|
| #include "webkit/quota/special_storage_policy.h"
|
|
|
| using WebKit::WebIDBDatabase;
|
| @@ -54,10 +57,16 @@ const FilePath::CharType IndexedDBContext::kIndexedDBExtension[] =
|
|
|
| IndexedDBContext::IndexedDBContext(
|
| WebKitContext* webkit_context,
|
| - quota::SpecialStoragePolicy* special_storage_policy)
|
| + quota::SpecialStoragePolicy* special_storage_policy,
|
| + quota::QuotaManagerProxy* quota_manager_proxy,
|
| + base::MessageLoopProxy* webkit_thread_loop)
|
| : clear_local_state_on_exit_(false),
|
| special_storage_policy_(special_storage_policy) {
|
| data_path_ = webkit_context->data_path().Append(kIndexedDBDirectory);
|
| + if (quota_manager_proxy) {
|
| +// quota_manager_proxy->RegisterClient(
|
| +// new IndexedDBQuotaClient(webkit_thread_loop, this));
|
| + }
|
| }
|
|
|
| IndexedDBContext::~IndexedDBContext() {
|
|
|