| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "content/browser/indexed_db/indexed_db_backing_store.h" | 10 #include "content/browser/indexed_db/indexed_db_backing_store.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 int64 version) OVERRIDE; | 37 int64 version) OVERRIDE; |
| 38 virtual leveldb::Status DeleteDatabase(const base::string16& name) OVERRIDE; | 38 virtual leveldb::Status DeleteDatabase(const base::string16& name) OVERRIDE; |
| 39 | 39 |
| 40 virtual leveldb::Status CreateObjectStore(Transaction*, | 40 virtual leveldb::Status CreateObjectStore(Transaction*, |
| 41 int64 database_id, | 41 int64 database_id, |
| 42 int64 object_store_id, | 42 int64 object_store_id, |
| 43 const base::string16& name, | 43 const base::string16& name, |
| 44 const IndexedDBKeyPath&, | 44 const IndexedDBKeyPath&, |
| 45 bool auto_increment) OVERRIDE; | 45 bool auto_increment) OVERRIDE; |
| 46 | 46 |
| 47 virtual leveldb::Status DeleteObjectStore(Transaction* transaction, |
| 48 int64 database_id, |
| 49 int64 object_store_id) OVERRIDE; |
| 50 |
| 47 virtual leveldb::Status PutRecord( | 51 virtual leveldb::Status PutRecord( |
| 48 IndexedDBBackingStore::Transaction* transaction, | 52 IndexedDBBackingStore::Transaction* transaction, |
| 49 int64 database_id, | 53 int64 database_id, |
| 50 int64 object_store_id, | 54 int64 object_store_id, |
| 51 const IndexedDBKey& key, | 55 const IndexedDBKey& key, |
| 52 IndexedDBValue& value, | 56 IndexedDBValue& value, |
| 53 ScopedVector<webkit_blob::BlobDataHandle>* handles, | 57 ScopedVector<webkit_blob::BlobDataHandle>* handles, |
| 54 RecordIdentifier* record) OVERRIDE; | 58 RecordIdentifier* record) OVERRIDE; |
| 55 | 59 |
| 56 virtual leveldb::Status ClearObjectStore(Transaction*, | 60 virtual leveldb::Status ClearObjectStore(Transaction*, |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 }; | 146 }; |
| 143 | 147 |
| 144 protected: | 148 protected: |
| 145 friend class base::RefCounted<IndexedDBFakeBackingStore>; | 149 friend class base::RefCounted<IndexedDBFakeBackingStore>; |
| 146 virtual ~IndexedDBFakeBackingStore(); | 150 virtual ~IndexedDBFakeBackingStore(); |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 } // namespace content | 153 } // namespace content |
| 150 | 154 |
| 151 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ | 155 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ |
| OLD | NEW |