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 WebVector<WebString>&); | 48 virtual void onSuccess(const WebVector<WebString>&); |
49 virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& pri
maryKey, const WebData&); | 49 virtual void onSuccess(WebIDBCursor*, const WebIDBKey&, const WebIDBKey& pri
maryKey, const WebData&, const WebVector<WebBlobInfo>&); |
50 virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&); | 50 virtual void onSuccess(WebIDBDatabase*, const WebIDBMetadata&); |
51 virtual void onSuccess(const WebIDBKey&); | 51 virtual void onSuccess(const WebIDBKey&); |
52 virtual void onSuccess(const WebData&); | 52 virtual void onSuccess(const WebData&, const WebVector<WebBlobInfo>&); |
53 virtual void onSuccess(const WebData&, const WebIDBKey&, const WebIDBKeyPath
&); | 53 virtual void onSuccess(const WebData&, const WebVector<WebBlobInfo>&, const
WebIDBKey&, const WebIDBKeyPath&); |
54 virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const
WebData&); | 54 virtual void onSuccess(const WebIDBKey&, const WebIDBKey& primaryKey, const
WebData&, const WebVector<WebBlobInfo>&); |
55 virtual void onSuccess(long long); | 55 virtual void onSuccess(long long); |
56 virtual void onSuccess(); | 56 virtual void onSuccess(); |
57 virtual void onBlocked(long long oldVersion); | 57 virtual void onBlocked(long long oldVersion); |
58 virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We
bIDBMetadata&, DataLoss); | 58 virtual void onUpgradeNeeded(long long oldVersion, WebIDBDatabase*, const We
bIDBMetadata&, DataLoss); |
59 | 59 |
60 private: | 60 private: |
61 RefPtr<WebCore::IDBCallbacks> m_callbacks; | 61 RefPtr<WebCore::IDBCallbacks> m_callbacks; |
62 RefPtr<WebCore::IDBDatabaseBackendInterface> m_databaseProxy; | 62 RefPtr<WebCore::IDBDatabaseBackendInterface> m_databaseProxy; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace WebKit | 65 } // namespace WebKit |
66 | 66 |
67 #endif // WebIDBCallbacksImpl_h | 67 #endif // WebIDBCallbacksImpl_h |
OLD | NEW |