| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 virtual leveldb::Status DeleteObjectStore(Transaction* transaction, | 47 virtual leveldb::Status DeleteObjectStore(Transaction* transaction, |
| 48 int64 database_id, | 48 int64 database_id, |
| 49 int64 object_store_id) OVERRIDE; | 49 int64 object_store_id) OVERRIDE; |
| 50 | 50 |
| 51 virtual leveldb::Status PutRecord( | 51 virtual leveldb::Status PutRecord( |
| 52 IndexedDBBackingStore::Transaction* transaction, | 52 IndexedDBBackingStore::Transaction* transaction, |
| 53 int64 database_id, | 53 int64 database_id, |
| 54 int64 object_store_id, | 54 int64 object_store_id, |
| 55 const IndexedDBKey& key, | 55 const IndexedDBKey& key, |
| 56 IndexedDBValue* value, | 56 IndexedDBValue* value, |
| 57 ScopedVector<webkit_blob::BlobDataHandle>* handles, | 57 ScopedVector<storage::BlobDataHandle>* handles, |
| 58 RecordIdentifier* record) OVERRIDE; | 58 RecordIdentifier* record) OVERRIDE; |
| 59 | 59 |
| 60 virtual leveldb::Status ClearObjectStore(Transaction*, | 60 virtual leveldb::Status ClearObjectStore(Transaction*, |
| 61 int64 database_id, | 61 int64 database_id, |
| 62 int64 object_store_id) OVERRIDE; | 62 int64 object_store_id) OVERRIDE; |
| 63 virtual leveldb::Status DeleteRecord(Transaction*, | 63 virtual leveldb::Status DeleteRecord(Transaction*, |
| 64 int64 database_id, | 64 int64 database_id, |
| 65 int64 object_store_id, | 65 int64 object_store_id, |
| 66 const RecordIdentifier&) OVERRIDE; | 66 const RecordIdentifier&) OVERRIDE; |
| 67 virtual leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*, | 67 virtual leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 friend class base::RefCounted<IndexedDBFakeBackingStore>; | 152 friend class base::RefCounted<IndexedDBFakeBackingStore>; |
| 153 virtual ~IndexedDBFakeBackingStore(); | 153 virtual ~IndexedDBFakeBackingStore(); |
| 154 | 154 |
| 155 private: | 155 private: |
| 156 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); | 156 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); |
| 157 }; | 157 }; |
| 158 | 158 |
| 159 } // namespace content | 159 } // namespace content |
| 160 | 160 |
| 161 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ | 161 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ |
| OLD | NEW |