| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 IDBCursorBackendProxy::IDBCursorBackendProxy(PassOwnPtr<WebIDBCursor> idbCursor) | 44 IDBCursorBackendProxy::IDBCursorBackendProxy(PassOwnPtr<WebIDBCursor> idbCursor) |
| 45 : m_idbCursor(idbCursor) | 45 : m_idbCursor(idbCursor) |
| 46 { | 46 { |
| 47 } | 47 } |
| 48 | 48 |
| 49 IDBCursorBackendProxy::~IDBCursorBackendProxy() | 49 IDBCursorBackendProxy::~IDBCursorBackendProxy() |
| 50 { | 50 { |
| 51 } | 51 } |
| 52 | 52 |
| 53 void IDBCursorBackendProxy::advance(unsigned long count, PassRefPtr<IDBCallbacks
> callbacks) | 53 void IDBCursorBackendProxy::advance(unsigned long count, IDBCallbacks* callbacks
) |
| 54 { | 54 { |
| 55 m_idbCursor->advance(count, new WebIDBCallbacksImpl(callbacks)); | 55 m_idbCursor->advance(count, new WebIDBCallbacksImpl(callbacks)); |
| 56 } | 56 } |
| 57 | 57 |
| 58 void IDBCursorBackendProxy::continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<
IDBCallbacks> callbacks) | 58 void IDBCursorBackendProxy::continueFunction(PassRefPtr<IDBKey> key, IDBCallback
s* callbacks) |
| 59 { | 59 { |
| 60 m_idbCursor->continueFunction(key, new WebIDBCallbacksImpl(callbacks)); | 60 m_idbCursor->continueFunction(key, new WebIDBCallbacksImpl(callbacks)); |
| 61 } | 61 } |
| 62 | 62 |
| 63 void IDBCursorBackendProxy::deleteFunction(PassRefPtr<IDBCallbacks> callbacks) | 63 void IDBCursorBackendProxy::deleteFunction(IDBCallbacks* callbacks) |
| 64 { | 64 { |
| 65 m_idbCursor->deleteFunction(new WebIDBCallbacksImpl(callbacks)); | 65 m_idbCursor->deleteFunction(new WebIDBCallbacksImpl(callbacks)); |
| 66 } | 66 } |
| 67 | 67 |
| 68 void IDBCursorBackendProxy::postSuccessHandlerCallback() | 68 void IDBCursorBackendProxy::postSuccessHandlerCallback() |
| 69 { | 69 { |
| 70 m_idbCursor->postSuccessHandlerCallback(); | 70 m_idbCursor->postSuccessHandlerCallback(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 } // namespace WebKit | 73 } // namespace WebKit |
| OLD | NEW |