| Index: content/common/indexed_db/indexed_db_dispatcher.cc
|
| diff --git a/content/common/indexed_db/indexed_db_dispatcher.cc b/content/common/indexed_db/indexed_db_dispatcher.cc
|
| index e689a77ac87d7c76d7dd661d0ce3bb7ba18f546e..30e54fae6a715026e7c2900518b403a148bf4f35 100644
|
| --- a/content/common/indexed_db/indexed_db_dispatcher.cc
|
| +++ b/content/common/indexed_db/indexed_db_dispatcher.cc
|
| @@ -48,8 +48,7 @@ IndexedDBDispatcher* const kHasBeenDeleted =
|
| int32 CurrentWorkerId() {
|
| return WorkerTaskRunner::Instance()->CurrentWorkerId();
|
| }
|
| -
|
| -} // unnamed namespace
|
| +} // unnamed namespace
|
|
|
| const size_t kMaxIDBValueSizeInBytes = 64 * 1024 * 1024;
|
|
|
| @@ -129,26 +128,6 @@ bool IndexedDBDispatcher::Send(IPC::Message* msg) {
|
| return ChildThread::current()->Send(msg);
|
| }
|
|
|
| -void IndexedDBDispatcher::RequestIDBCursorUpdate(
|
| - const SerializedScriptValue& value,
|
| - WebIDBCallbacks* callbacks_ptr,
|
| - int32 idb_cursor_id,
|
| - WebExceptionCode* ec) {
|
| - ResetCursorPrefetchCaches();
|
| - scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
|
| - if (!value.is_null() &&
|
| - (value.data().length() * sizeof(char16)) > kMaxIDBValueSizeInBytes) {
|
| - *ec = WebKit::WebIDBDatabaseExceptionDataError;
|
| - return;
|
| - }
|
| - int32 response_id = pending_callbacks_.Add(callbacks.release());
|
| - Send(
|
| - new IndexedDBHostMsg_CursorUpdate(idb_cursor_id, CurrentWorkerId(),
|
| - response_id, value, ec));
|
| - if (*ec)
|
| - pending_callbacks_.Remove(response_id);
|
| -}
|
| -
|
| void IndexedDBDispatcher::RequestIDBCursorAdvance(
|
| unsigned long count,
|
| WebIDBCallbacks* callbacks_ptr,
|
|
|