| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 #include "wtf/PassRefPtr.h" | 29 #include "wtf/PassRefPtr.h" |
| 30 #include "wtf/RefCounted.h" | 30 #include "wtf/RefCounted.h" |
| 31 | 31 |
| 32 namespace WebCore { | 32 namespace WebCore { |
| 33 | 33 |
| 34 class IDBCallbacks; | 34 class IDBCallbacks; |
| 35 class IDBKey; | 35 class IDBKey; |
| 36 class IDBRequest; | 36 class IDBRequest; |
| 37 | 37 |
| 38 typedef int ExceptionCode; | |
| 39 | |
| 40 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> { | 38 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> { |
| 41 public: | 39 public: |
| 42 virtual ~IDBCursorBackendInterface() {} | 40 virtual ~IDBCursorBackendInterface() {} |
| 43 | 41 |
| 44 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0; | 42 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0; |
| 45 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback
s>) = 0; | 43 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback
s>) = 0; |
| 46 virtual void postSuccessHandlerCallback() = 0; | 44 virtual void postSuccessHandlerCallback() = 0; |
| 47 }; | 45 }; |
| 48 | 46 |
| 49 } // namespace WebCore | 47 } // namespace WebCore |
| 50 | 48 |
| 51 #endif // IDBCursorBackendInterface_h | 49 #endif // IDBCursorBackendInterface_h |
| OLD | NEW |