| 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 #include "content/browser/indexed_db/indexed_db_fake_backing_store.h" | 5 #include "content/browser/indexed_db/indexed_db_fake_backing_store.h" |
| 6 | 6 |
| 7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 int64 database_id, | 75 int64 database_id, |
| 76 int64 object_store_id) { | 76 int64 object_store_id) { |
| 77 return leveldb::Status::OK(); | 77 return leveldb::Status::OK(); |
| 78 } | 78 } |
| 79 | 79 |
| 80 leveldb::Status IndexedDBFakeBackingStore::PutRecord( | 80 leveldb::Status IndexedDBFakeBackingStore::PutRecord( |
| 81 IndexedDBBackingStore::Transaction* transaction, | 81 IndexedDBBackingStore::Transaction* transaction, |
| 82 int64 database_id, | 82 int64 database_id, |
| 83 int64 object_store_id, | 83 int64 object_store_id, |
| 84 const IndexedDBKey& key, | 84 const IndexedDBKey& key, |
| 85 IndexedDBValue& value, | 85 IndexedDBValue* value, |
| 86 ScopedVector<webkit_blob::BlobDataHandle>* handles, | 86 ScopedVector<webkit_blob::BlobDataHandle>* handles, |
| 87 RecordIdentifier* record) { | 87 RecordIdentifier* record) { |
| 88 return leveldb::Status::OK(); | 88 return leveldb::Status::OK(); |
| 89 } | 89 } |
| 90 | 90 |
| 91 leveldb::Status IndexedDBFakeBackingStore::ClearObjectStore( | 91 leveldb::Status IndexedDBFakeBackingStore::ClearObjectStore( |
| 92 Transaction*, | 92 Transaction*, |
| 93 int64 database_id, | 93 int64 database_id, |
| 94 int64 object_store_id) { | 94 int64 object_store_id) { |
| 95 return leveldb::Status::OK(); | 95 return leveldb::Status::OK(); |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 scoped_refptr<BlobWriteCallback> callback) { | 209 scoped_refptr<BlobWriteCallback> callback) { |
| 210 callback->Run(true); | 210 callback->Run(true); |
| 211 return leveldb::Status::OK(); | 211 return leveldb::Status::OK(); |
| 212 } | 212 } |
| 213 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() { | 213 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() { |
| 214 return result_; | 214 return result_; |
| 215 } | 215 } |
| 216 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {} | 216 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {} |
| 217 | 217 |
| 218 } // namespace content | 218 } // namespace content |
| OLD | NEW |