| 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 23 matching lines...) Expand all  Loading... | 
|  34 class IDBCallbacks; |  34 class IDBCallbacks; | 
|  35 class IDBKey; |  35 class IDBKey; | 
|  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, IDBCallbacks*) = 0; | 
|  45     virtual void continueFunction(PassRefPtr<IDBKey> key, PassRefPtr<IDBCallback
    s>) = 0; |  45     virtual void continueFunction(PassRefPtr<IDBKey> key, IDBCallbacks*) = 0; | 
|  46     virtual void deleteFunction(PassRefPtr<IDBCallbacks>) = 0; |  46     virtual void deleteFunction(IDBCallbacks*) = 0; | 
|  47     virtual void prefetchContinue(int numberToFetch, PassRefPtr<IDBCallbacks>) =
     0; |  47     virtual void prefetchContinue(int numberToFetch, IDBCallbacks*) = 0; | 
|  48     virtual void prefetchReset(int usedPrefetches, int unusedPrefetches) = 0; |  48     virtual void prefetchReset(int usedPrefetches, int unusedPrefetches) = 0; | 
|  49     virtual void postSuccessHandlerCallback() = 0; |  49     virtual void postSuccessHandlerCallback() = 0; | 
|  50 }; |  50 }; | 
|  51  |  51  | 
|  52 } // namespace WebCore |  52 } // namespace WebCore | 
|  53  |  53  | 
|  54 #endif // IDBCursorBackendInterface_h |  54 #endif // IDBCursorBackendInterface_h | 
| OLD | NEW |