Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: content/browser/indexed_db/indexed_db_fake_backing_store.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: memory leak fixed Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 28 matching lines...) Expand all
39 int64 database_id, 39 int64 database_id,
40 int64 object_store_id, 40 int64 object_store_id,
41 const base::string16& name, 41 const base::string16& name,
42 const IndexedDBKeyPath&, 42 const IndexedDBKeyPath&,
43 bool auto_increment) override; 43 bool auto_increment) override;
44 44
45 leveldb::Status DeleteObjectStore(Transaction* transaction, 45 leveldb::Status DeleteObjectStore(Transaction* transaction,
46 int64 database_id, 46 int64 database_id,
47 int64 object_store_id) override; 47 int64 object_store_id) override;
48 48
49 leveldb::Status PutRecord(IndexedDBBackingStore::Transaction* transaction, 49 leveldb::Status PutRecord(
50 int64 database_id, 50 IndexedDBBackingStore::Transaction* transaction,
51 int64 object_store_id, 51 int64 database_id,
52 const IndexedDBKey& key, 52 int64 object_store_id,
53 IndexedDBValue* value, 53 const IndexedDBKey& key,
54 ScopedVector<storage::BlobDataHandle>* handles, 54 IndexedDBValue* value,
55 RecordIdentifier* record) override; 55 ScopedVector<storage::BlobDataSnapshotHandle>* handles,
56 RecordIdentifier* record) override;
56 57
57 leveldb::Status ClearObjectStore(Transaction*, 58 leveldb::Status ClearObjectStore(Transaction*,
58 int64 database_id, 59 int64 database_id,
59 int64 object_store_id) override; 60 int64 object_store_id) override;
60 leveldb::Status DeleteRecord(Transaction*, 61 leveldb::Status DeleteRecord(Transaction*,
61 int64 database_id, 62 int64 database_id,
62 int64 object_store_id, 63 int64 object_store_id,
63 const RecordIdentifier&) override; 64 const RecordIdentifier&) override;
64 leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*, 65 leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*,
65 int64 database_id, 66 int64 database_id,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 friend class base::RefCounted<IndexedDBFakeBackingStore>; 145 friend class base::RefCounted<IndexedDBFakeBackingStore>;
145 ~IndexedDBFakeBackingStore() override; 146 ~IndexedDBFakeBackingStore() override;
146 147
147 private: 148 private:
148 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); 149 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore);
149 }; 150 };
150 151
151 } // namespace content 152 } // namespace content
152 153
153 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 154 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698