| 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 16 matching lines...) Expand all Loading... |
| 27 #include "IDBCursorBackendProxy.h" | 27 #include "IDBCursorBackendProxy.h" |
| 28 | 28 |
| 29 #include "public/platform/WebIDBKey.h" | 29 #include "public/platform/WebIDBKey.h" |
| 30 #include "WebIDBCallbacksImpl.h" | 30 #include "WebIDBCallbacksImpl.h" |
| 31 #include "modules/indexeddb/IDBAny.h" | 31 #include "modules/indexeddb/IDBAny.h" |
| 32 #include "modules/indexeddb/IDBCallbacks.h" | 32 #include "modules/indexeddb/IDBCallbacks.h" |
| 33 #include "modules/indexeddb/IDBKey.h" | 33 #include "modules/indexeddb/IDBKey.h" |
| 34 | 34 |
| 35 using namespace WebCore; | 35 using namespace WebCore; |
| 36 | 36 |
| 37 namespace WebKit { | 37 namespace blink { |
| 38 | 38 |
| 39 PassRefPtr<IDBCursorBackendInterface> IDBCursorBackendProxy::create(PassOwnPtr<W
ebIDBCursor> idbCursor) | 39 PassRefPtr<IDBCursorBackendInterface> IDBCursorBackendProxy::create(PassOwnPtr<W
ebIDBCursor> idbCursor) |
| 40 { | 40 { |
| 41 return adoptRef(new IDBCursorBackendProxy(idbCursor)); | 41 return adoptRef(new IDBCursorBackendProxy(idbCursor)); |
| 42 } | 42 } |
| 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 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 58 void IDBCursorBackendProxy::continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<
IDBCallbacks> callbacks) | 58 void IDBCursorBackendProxy::continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<
IDBCallbacks> 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::postSuccessHandlerCallback() | 63 void IDBCursorBackendProxy::postSuccessHandlerCallback() |
| 64 { | 64 { |
| 65 m_idbCursor->postSuccessHandlerCallback(); | 65 m_idbCursor->postSuccessHandlerCallback(); |
| 66 } | 66 } |
| 67 | 67 |
| 68 } // namespace WebKit | 68 } // namespace blink |
| OLD | NEW |