| 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 28 matching lines...) Expand all  Loading... | 
|  39  |  39  | 
|  40 namespace WebKit { |  40 namespace WebKit { | 
|  41  |  41  | 
|  42 class WebIDBCallbacksImpl : public WebIDBCallbacks { |  42 class WebIDBCallbacksImpl : public WebIDBCallbacks { | 
|  43 public: |  43 public: | 
|  44     WebIDBCallbacksImpl(PassRefPtr<WebCore::IDBCallbacks>); |  44     WebIDBCallbacksImpl(PassRefPtr<WebCore::IDBCallbacks>); | 
|  45     virtual ~WebIDBCallbacksImpl(); |  45     virtual ~WebIDBCallbacksImpl(); | 
|  46  |  46  | 
|  47     virtual void onError(const WebIDBDatabaseError&); |  47     virtual void onError(const WebIDBDatabaseError&); | 
|  48     virtual void onSuccess(const WebDOMStringList&); |  48     virtual void onSuccess(const WebDOMStringList&); | 
 |  49     virtual void onSuccess(const WebVector<WebString>&); | 
|  49     virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& pri
    maryKey, const WebData&); |  50     virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& pri
    maryKey, const WebData&); | 
|  50     virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&); |  51     virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&); | 
|  51     virtual void onSuccess(const WebIDBKey&); |  52     virtual void onSuccess(const WebIDBKey&); | 
|  52     virtual void onSuccess(const WebData&); |  53     virtual void onSuccess(const WebData&); | 
|  53     virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath
    &); |  54     virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath
    &); | 
|  54     virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const 
    WebData&); |  55     virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const 
    WebData&); | 
|  55     virtual void onSuccess(long long); |  56     virtual void onSuccess(long long); | 
|  56     virtual void onSuccess(); |  57     virtual void onSuccess(); | 
|  57     virtual void onBlocked(long long oldVersion); |  58     virtual void onBlocked(long long oldVersion); | 
|  58     virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We
    bIDBMetadata&); |  59     virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We
    bIDBMetadata&); | 
|  59  |  60  | 
|  60 private: |  61 private: | 
|  61     RefPtr<WebCore::IDBCallbacks> m_callbacks; |  62     RefPtr<WebCore::IDBCallbacks> m_callbacks; | 
|  62     RefPtr<WebCore::IDBDatabaseBackendInterface> m_databaseProxy; |  63     RefPtr<WebCore::IDBDatabaseBackendInterface> m_databaseProxy; | 
|  63 }; |  64 }; | 
|  64  |  65  | 
|  65 } // namespace WebKit |  66 } // namespace WebKit | 
|  66  |  67  | 
|  67 #endif // WebIDBCallbacksImpl_h |  68 #endif // WebIDBCallbacksImpl_h | 
| OLD | NEW |