| 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 25 matching lines...) Expand all Loading... |
| 36 #include "modules/indexeddb/IDBMetadata.h" | 36 #include "modules/indexeddb/IDBMetadata.h" |
| 37 #include "modules/indexeddb/IDBRequest.h" | 37 #include "modules/indexeddb/IDBRequest.h" |
| 38 #include "modules/indexeddb/IDBTransaction.h" | 38 #include "modules/indexeddb/IDBTransaction.h" |
| 39 #include "public/platform/WebIDBCursor.h" | 39 #include "public/platform/WebIDBCursor.h" |
| 40 #include "public/platform/WebIDBDatabase.h" | 40 #include "public/platform/WebIDBDatabase.h" |
| 41 #include "public/platform/WebIDBTypes.h" | 41 #include "public/platform/WebIDBTypes.h" |
| 42 #include "wtf/PassRefPtr.h" | 42 #include "wtf/PassRefPtr.h" |
| 43 #include "wtf/RefPtr.h" | 43 #include "wtf/RefPtr.h" |
| 44 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace blink { |
| 47 | 47 |
| 48 class DOMStringList; | 48 class DOMStringList; |
| 49 class IDBAny; | 49 class IDBAny; |
| 50 class ExceptionState; | 50 class ExceptionState; |
| 51 | 51 |
| 52 class IDBObjectStore : public GarbageCollectedFinalized<IDBObjectStore>, public
ScriptWrappable { | 52 class IDBObjectStore : public GarbageCollectedFinalized<IDBObjectStore>, public
ScriptWrappable { |
| 53 public: | 53 public: |
| 54 static IDBObjectStore* create(const IDBObjectStoreMetadata& metadata, IDBTra
nsaction* transaction) | 54 static IDBObjectStore* create(const IDBObjectStoreMetadata& metadata, IDBTra
nsaction* transaction) |
| 55 { | 55 { |
| 56 return new IDBObjectStore(metadata, transaction); | 56 return new IDBObjectStore(metadata, transaction); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 118 } |
| 119 | 119 |
| 120 IDBObjectStoreMetadata m_metadata; | 120 IDBObjectStoreMetadata m_metadata; |
| 121 Member<IDBTransaction> m_transaction; | 121 Member<IDBTransaction> m_transaction; |
| 122 bool m_deleted; | 122 bool m_deleted; |
| 123 | 123 |
| 124 typedef HeapHashMap<String, Member<IDBIndex> > IDBIndexMap; | 124 typedef HeapHashMap<String, Member<IDBIndex> > IDBIndexMap; |
| 125 IDBIndexMap m_indexMap; | 125 IDBIndexMap m_indexMap; |
| 126 }; | 126 }; |
| 127 | 127 |
| 128 } // namespace WebCore | 128 } // namespace blink |
| 129 | 129 |
| 130 #endif // IDBObjectStore_h | 130 #endif // IDBObjectStore_h |
| OLD | NEW |