OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * 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 * | 10 * |
(...skipping 13 matching lines...) Expand all Loading... |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #ifndef WebIDBCallbacksImpl_h | 29 #ifndef WebIDBCallbacksImpl_h |
30 #define WebIDBCallbacksImpl_h | 30 #define WebIDBCallbacksImpl_h |
31 | 31 |
32 #include "public/platform/WebIDBCallbacks.h" | 32 #include "public/platform/WebIDBCallbacks.h" |
33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
34 #include "wtf/PassRefPtr.h" | |
35 #include "wtf/RefPtr.h" | |
36 | 34 |
37 namespace blink { | 35 namespace blink { |
38 | 36 |
39 class IDBRequest; | 37 class IDBRequest; |
40 class WebBlobInfo; | 38 class WebBlobInfo; |
41 class WebData; | 39 class WebData; |
42 class WebIDBCursor; | 40 class WebIDBCursor; |
43 class WebIDBDatabase; | 41 class WebIDBDatabase; |
44 class WebIDBDatabaseError; | 42 class WebIDBDatabaseError; |
45 class WebIDBIndex; | |
46 class WebIDBKey; | 43 class WebIDBKey; |
47 class WebIDBKeyPath; | 44 class WebIDBKeyPath; |
48 struct WebIDBMetadata; | 45 struct WebIDBMetadata; |
49 | 46 |
50 class WebIDBCallbacksImpl final : public WebIDBCallbacks { | 47 class WebIDBCallbacksImpl final : public WebIDBCallbacks { |
51 public: | 48 public: |
52 static PassOwnPtr<WebIDBCallbacksImpl> create(IDBRequest*); | 49 static PassOwnPtr<WebIDBCallbacksImpl> create(IDBRequest*); |
53 | 50 |
54 virtual ~WebIDBCallbacksImpl(); | 51 virtual ~WebIDBCallbacksImpl(); |
55 | 52 |
(...skipping 14 matching lines...) Expand all Loading... |
70 private: | 67 private: |
71 explicit WebIDBCallbacksImpl(IDBRequest*); | 68 explicit WebIDBCallbacksImpl(IDBRequest*); |
72 | 69 |
73 Persistent<IDBRequest> m_request; | 70 Persistent<IDBRequest> m_request; |
74 int m_asyncOperationId; | 71 int m_asyncOperationId; |
75 }; | 72 }; |
76 | 73 |
77 } // namespace blink | 74 } // namespace blink |
78 | 75 |
79 #endif // WebIDBCallbacksImpl_h | 76 #endif // WebIDBCallbacksImpl_h |
OLD | NEW |