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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 virtual void createObjectStore(int64_t transactionId, int64_t objectStoreId,
const String& name, const WebCore::IDBKeyPath&, bool autoIncrement); | 43 virtual void createObjectStore(int64_t transactionId, int64_t objectStoreId,
const String& name, const WebCore::IDBKeyPath&, bool autoIncrement); |
44 virtual void deleteObjectStore(int64_t transactionId, int64_t objectStoreId)
; | 44 virtual void deleteObjectStore(int64_t transactionId, int64_t objectStoreId)
; |
45 virtual void createTransaction(int64_t, PassRefPtr<WebCore::IDBDatabaseCallb
acks>, const Vector<int64_t>&, unsigned short mode); | 45 virtual void createTransaction(int64_t, PassRefPtr<WebCore::IDBDatabaseCallb
acks>, const Vector<int64_t>&, unsigned short mode); |
46 virtual void close(PassRefPtr<WebCore::IDBDatabaseCallbacks>); | 46 virtual void close(PassRefPtr<WebCore::IDBDatabaseCallbacks>); |
47 | 47 |
48 virtual void commit(int64_t); | 48 virtual void commit(int64_t); |
49 virtual void abort(int64_t); | 49 virtual void abort(int64_t); |
50 | 50 |
51 virtual void get(int64_t transactionId, int64_t objectStoreId, int64_t index
Id, PassRefPtr<WebCore::IDBKeyRange>, bool keyOnly, PassRefPtr<WebCore::IDBCallb
acks>) OVERRIDE; | 51 virtual void get(int64_t transactionId, int64_t objectStoreId, int64_t index
Id, PassRefPtr<WebCore::IDBKeyRange>, bool keyOnly, PassRefPtr<WebCore::IDBCallb
acks>) OVERRIDE; |
52 virtual void put(int64_t transactionId, int64_t objectStoreId, PassRefPtr<We
bCore::SharedBuffer> value, PassRefPtr<WebCore::IDBKey>, PutMode, PassRefPtr<Web
Core::IDBCallbacks>, const Vector<int64_t>& indexIds, const Vector<IndexKeys>&)
OVERRIDE; | 52 virtual void put(int64_t transactionId, int64_t objectStoreId, PassRefPtr<We
bCore::SharedBuffer> value, const Vector<WebCore::BlobInfo>*, PassRefPtr<WebCore
::IDBKey>, PutMode, PassRefPtr<WebCore::IDBCallbacks>, const Vector<int64_t>& in
dexIds, const Vector<IndexKeys>&) OVERRIDE; |
53 virtual void setIndexKeys(int64_t transactionId, int64_t objectStoreId, Pass
RefPtr<WebCore::IDBKey> prpPrimaryKey, const Vector<int64_t>& indexIds, const Ve
ctor<IndexKeys>&) OVERRIDE; | 53 virtual void setIndexKeys(int64_t transactionId, int64_t objectStoreId, Pass
RefPtr<WebCore::IDBKey> prpPrimaryKey, const Vector<int64_t>& indexIds, const Ve
ctor<IndexKeys>&) OVERRIDE; |
54 virtual void setIndexesReady(int64_t transactionId, int64_t objectStoreId, c
onst Vector<int64_t>& indexIds) OVERRIDE; | 54 virtual void setIndexesReady(int64_t transactionId, int64_t objectStoreId, c
onst Vector<int64_t>& indexIds) OVERRIDE; |
55 virtual void openCursor(int64_t transactionId, int64_t objectStoreId, int64_
t indexId, PassRefPtr<WebCore::IDBKeyRange>, WebCore::IndexedDB::CursorDirection
, bool keyOnly, TaskType, PassRefPtr<WebCore::IDBCallbacks>) OVERRIDE; | 55 virtual void openCursor(int64_t transactionId, int64_t objectStoreId, int64_
t indexId, PassRefPtr<WebCore::IDBKeyRange>, WebCore::IndexedDB::CursorDirection
, bool keyOnly, TaskType, PassRefPtr<WebCore::IDBCallbacks>) OVERRIDE; |
56 virtual void count(int64_t transactionId, int64_t objectStoreId, int64_t ind
exId, PassRefPtr<WebCore::IDBKeyRange>, PassRefPtr<WebCore::IDBCallbacks>) OVERR
IDE; | 56 virtual void count(int64_t transactionId, int64_t objectStoreId, int64_t ind
exId, PassRefPtr<WebCore::IDBKeyRange>, PassRefPtr<WebCore::IDBCallbacks>) OVERR
IDE; |
57 virtual void deleteRange(int64_t transactionId, int64_t objectStoreId, PassR
efPtr<WebCore::IDBKeyRange>, PassRefPtr<WebCore::IDBCallbacks>) OVERRIDE; | 57 virtual void deleteRange(int64_t transactionId, int64_t objectStoreId, PassR
efPtr<WebCore::IDBKeyRange>, PassRefPtr<WebCore::IDBCallbacks>) OVERRIDE; |
58 virtual void clear(int64_t transactionId, int64_t objectStoreId, PassRefPtr<
WebCore::IDBCallbacks>) OVERRIDE; | 58 virtual void clear(int64_t transactionId, int64_t objectStoreId, PassRefPtr<
WebCore::IDBCallbacks>) OVERRIDE; |
59 | 59 |
60 virtual void createIndex(int64_t transactionId, int64_t objectStoreId, int64
_t indexId, const String& name, const WebCore::IDBKeyPath&, bool unique, bool mu
ltiEntry) OVERRIDE; | 60 virtual void createIndex(int64_t transactionId, int64_t objectStoreId, int64
_t indexId, const String& name, const WebCore::IDBKeyPath&, bool unique, bool mu
ltiEntry) OVERRIDE; |
61 virtual void deleteIndex(int64_t transactionId, int64_t objectStoreId, int64
_t indexId) OVERRIDE; | 61 virtual void deleteIndex(int64_t transactionId, int64_t objectStoreId, int64
_t indexId) OVERRIDE; |
62 | 62 |
63 private: | 63 private: |
64 IDBDatabaseBackendProxy(PassOwnPtr<WebIDBDatabase>); | 64 IDBDatabaseBackendProxy(PassOwnPtr<WebIDBDatabase>); |
65 | 65 |
66 OwnPtr<WebIDBDatabase> m_webIDBDatabase; | 66 OwnPtr<WebIDBDatabase> m_webIDBDatabase; |
67 }; | 67 }; |
68 | 68 |
69 } // namespace WebKit | 69 } // namespace WebKit |
70 | 70 |
71 #endif // IDBDatabaseBackendProxy_h | 71 #endif // IDBDatabaseBackendProxy_h |
OLD | NEW |