| 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 25 matching lines...) Expand all Loading... |
| 36 class IDBRequest; | 36 class IDBRequest; |
| 37 | 37 |
| 38 typedef int ExceptionCode; | 38 typedef int ExceptionCode; |
| 39 | 39 |
| 40 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> { | 40 class IDBCursorBackendInterface : public RefCounted<IDBCursorBackendInterface> { |
| 41 public: | 41 public: |
| 42 virtual ~IDBCursorBackendInterface() {} | 42 virtual ~IDBCursorBackendInterface() {} |
| 43 | 43 |
| 44 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0; | 44 virtual void advance(unsigned long count, PassRefPtr<IDBCallbacks>) = 0; |
| 45 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback
s>) = 0; | 45 virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback
s>) = 0; |
| 46 virtual void prefetchContinue(int numberToFetch, PassRefPtr<IDBCallbacks>) =
0; | |
| 47 virtual void prefetchReset(int usedPrefetches, int unusedPrefetches) = 0; | |
| 48 virtual void postSuccessHandlerCallback() = 0; | 46 virtual void postSuccessHandlerCallback() = 0; |
| 49 }; | 47 }; |
| 50 | 48 |
| 51 } // namespace WebCore | 49 } // namespace WebCore |
| 52 | 50 |
| 53 #endif // IDBCursorBackendInterface_h | 51 #endif // IDBCursorBackendInterface_h |
| OLD | NEW |