| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 IndexedDBFakeBackingStore(); | 26 IndexedDBFakeBackingStore(); |
| 27 IndexedDBFakeBackingStore(IndexedDBFactory* factory, | 27 IndexedDBFakeBackingStore(IndexedDBFactory* factory, |
| 28 base::SequencedTaskRunner* task_runner); | 28 base::SequencedTaskRunner* task_runner); |
| 29 std::vector<base::string16> GetDatabaseNames(leveldb::Status* s) override; | 29 std::vector<base::string16> GetDatabaseNames(leveldb::Status* s) override; |
| 30 leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, | 30 leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, |
| 31 IndexedDBDatabaseMetadata*, | 31 IndexedDBDatabaseMetadata*, |
| 32 bool* found) override; | 32 bool* found) override; |
| 33 leveldb::Status CreateIDBDatabaseMetaData(const base::string16& name, | 33 leveldb::Status CreateIDBDatabaseMetaData(const base::string16& name, |
| 34 int64_t version, | 34 int64_t version, |
| 35 int64_t* row_id) override; | 35 int64_t* row_id) override; |
| 36 bool UpdateIDBDatabaseIntVersion(Transaction*, | 36 void UpdateIDBDatabaseIntVersion(Transaction*, |
| 37 int64_t row_id, | 37 int64_t row_id, |
| 38 int64_t version) override; | 38 int64_t version) override; |
| 39 leveldb::Status DeleteDatabase(const base::string16& name) override; | 39 leveldb::Status DeleteDatabase(const base::string16& name) override; |
| 40 | 40 |
| 41 leveldb::Status CreateObjectStore(Transaction*, | 41 leveldb::Status CreateObjectStore(Transaction*, |
| 42 int64_t database_id, | 42 int64_t database_id, |
| 43 int64_t object_store_id, | 43 int64_t object_store_id, |
| 44 const base::string16& name, | 44 const base::string16& name, |
| 45 const IndexedDBKeyPath&, | 45 const IndexedDBKeyPath&, |
| 46 bool auto_increment) override; | 46 bool auto_increment) override; |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 friend class base::RefCounted<IndexedDBFakeBackingStore>; | 159 friend class base::RefCounted<IndexedDBFakeBackingStore>; |
| 160 ~IndexedDBFakeBackingStore() override; | 160 ~IndexedDBFakeBackingStore() override; |
| 161 | 161 |
| 162 private: | 162 private: |
| 163 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); | 163 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 } // namespace content | 166 } // namespace content |
| 167 | 167 |
| 168 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ | 168 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ |
| OLD | NEW |