Chromium Code Reviews| Index: content/browser/in_process_webkit/indexed_db_callbacks.cc |
| diff --git a/content/browser/in_process_webkit/indexed_db_callbacks.cc b/content/browser/in_process_webkit/indexed_db_callbacks.cc |
| index 7e153a18044c9d4a77ee8d82d96247d9a8510dae..24b2b41bdd6d77ac51d26b0d84d46dcce9c6d872 100644 |
| --- a/content/browser/in_process_webkit/indexed_db_callbacks.cc |
| +++ b/content/browser/in_process_webkit/indexed_db_callbacks.cc |
| @@ -28,15 +28,18 @@ void IndexedDBCallbacksBase::onBlocked() { |
| void IndexedDBCallbacks<WebKit::WebIDBDatabase>::onSuccess( |
| WebKit::WebIDBDatabase* idb_object) { |
| int32 object_id = dispatcher_host()->Add(idb_object, origin_url()); |
| - if (dispatcher_host()->Context()->quota_manager_proxy()) { |
| - dispatcher_host()->Context()->quota_manager_proxy()->NotifyStorageAccessed( |
|
dgrogan
2011/08/03 01:41:29
This stuff was moved to IndexedDBContext, in a fun
|
| - quota::QuotaClient::kIndexedDatabase, origin_url(), |
| - quota::kStorageTypeTemporary); |
| - } |
| dispatcher_host()->Send( |
| new IndexedDBMsg_CallbacksSuccessIDBDatabase(response_id(), object_id)); |
| } |
| +void IndexedDBCallbacks<WebKit::WebIDBTransaction>::onSuccess( |
| + WebKit::WebIDBTransaction* idb_object) { |
| + int32 object_id = dispatcher_host()->Add(idb_object, origin_url()); |
| + dispatcher_host()->Send( |
| + new IndexedDBMsg_CallbacksSuccessIDBTransaction(response_id(), |
| + object_id)); |
| +} |
| + |
| void IndexedDBCallbacks<WebKit::WebIDBCursor>::onSuccess( |
| WebKit::WebIDBCursor* idb_object) { |
| int32 object_id = dispatcher_host()->Add(idb_object); |