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

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

Issue 303073002: Change instances of s.IsCorruption() to leveldb_env::IsCorruption(s) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix memory leak Created 6 years, 6 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 | Annotate | Revision Log
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 26 matching lines...) Expand all
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
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_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory.cc ('k') | content/browser/indexed_db/indexed_db_fake_backing_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698