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 27 matching lines...) Expand all Loading... |
38 #include "modules/indexeddb/IDBDatabase.h" | 38 #include "modules/indexeddb/IDBDatabase.h" |
39 #include "modules/indexeddb/IDBKeyPath.h" | 39 #include "modules/indexeddb/IDBKeyPath.h" |
40 #include "modules/indexeddb/IDBTracing.h" | 40 #include "modules/indexeddb/IDBTracing.h" |
41 #include "modules/indexeddb/WebIDBCallbacksImpl.h" | 41 #include "modules/indexeddb/WebIDBCallbacksImpl.h" |
42 #include "platform/SharedBuffer.h" | 42 #include "platform/SharedBuffer.h" |
43 #include "public/platform/WebBlobInfo.h" | 43 #include "public/platform/WebBlobInfo.h" |
44 #include "public/platform/WebData.h" | 44 #include "public/platform/WebData.h" |
45 #include "public/platform/WebIDBKey.h" | 45 #include "public/platform/WebIDBKey.h" |
46 #include "public/platform/WebIDBKeyRange.h" | 46 #include "public/platform/WebIDBKeyRange.h" |
47 #include "public/platform/WebVector.h" | 47 #include "public/platform/WebVector.h" |
| 48 #include <v8.h> |
48 | 49 |
49 using blink::WebBlobInfo; | 50 using blink::WebBlobInfo; |
50 using blink::WebIDBCallbacks; | 51 using blink::WebIDBCallbacks; |
51 using blink::WebIDBCursor; | 52 using blink::WebIDBCursor; |
52 using blink::WebIDBDatabase; | 53 using blink::WebIDBDatabase; |
53 using blink::WebVector; | 54 using blink::WebVector; |
54 | 55 |
55 namespace WebCore { | 56 namespace WebCore { |
56 | 57 |
57 IDBObjectStore::IDBObjectStore(const IDBObjectStoreMetadata& metadata, IDBTransa
ction* transaction) | 58 IDBObjectStore::IDBObjectStore(const IDBObjectStoreMetadata& metadata, IDBTransa
ction* transaction) |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 } | 669 } |
669 return IDBIndexMetadata::InvalidId; | 670 return IDBIndexMetadata::InvalidId; |
670 } | 671 } |
671 | 672 |
672 WebIDBDatabase* IDBObjectStore::backendDB() const | 673 WebIDBDatabase* IDBObjectStore::backendDB() const |
673 { | 674 { |
674 return m_transaction->backendDB(); | 675 return m_transaction->backendDB(); |
675 } | 676 } |
676 | 677 |
677 } // namespace WebCore | 678 } // namespace WebCore |
OLD | NEW |