| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 bool isDeleted() const; | 67 bool isDeleted() const; |
| 68 | 68 |
| 69 // Used internally and by InspectorIndexedDBAgent: | 69 // Used internally and by InspectorIndexedDBAgent: |
| 70 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, PassRefPtr<IDBKeyRange>
, IndexedDB::CursorDirection); | 70 PassRefPtr<IDBRequest> openCursor(ExecutionContext*, PassRefPtr<IDBKeyRange>
, IndexedDB::CursorDirection); |
| 71 | 71 |
| 72 blink::WebIDBDatabase* backendDB() const; | 72 blink::WebIDBDatabase* backendDB() const; |
| 73 | 73 |
| 74 private: | 74 private: |
| 75 IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*); | 75 IDBIndex(const IDBIndexMetadata&, IDBObjectStore*, IDBTransaction*); |
| 76 | 76 |
| 77 PassRefPtr<IDBRequest> getInternal(ExecutionContext*, const ScriptValue& key
, ExceptionState&, bool keyOnly); |
| 78 |
| 77 IDBIndexMetadata m_metadata; | 79 IDBIndexMetadata m_metadata; |
| 78 RefPtr<IDBObjectStore> m_objectStore; | 80 RefPtr<IDBObjectStore> m_objectStore; |
| 79 RefPtr<IDBTransaction> m_transaction; | 81 RefPtr<IDBTransaction> m_transaction; |
| 80 bool m_deleted; | 82 bool m_deleted; |
| 81 }; | 83 }; |
| 82 | 84 |
| 83 } // namespace WebCore | 85 } // namespace WebCore |
| 84 | 86 |
| 85 #endif // IDBIndex_h | 87 #endif // IDBIndex_h |
| OLD | NEW |