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

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

Issue 1706413002: Indexed DB: Rename "int version" to "version" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 12 matching lines...) Expand all
23 class IndexedDBFakeBackingStore : public IndexedDBBackingStore { 23 class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
24 public: 24 public:
25 IndexedDBFakeBackingStore(); 25 IndexedDBFakeBackingStore();
26 IndexedDBFakeBackingStore(IndexedDBFactory* factory, 26 IndexedDBFakeBackingStore(IndexedDBFactory* factory,
27 base::SequencedTaskRunner* task_runner); 27 base::SequencedTaskRunner* task_runner);
28 std::vector<base::string16> GetDatabaseNames(leveldb::Status* s) override; 28 std::vector<base::string16> GetDatabaseNames(leveldb::Status* s) override;
29 leveldb::Status GetIDBDatabaseMetaData(const base::string16& name, 29 leveldb::Status GetIDBDatabaseMetaData(const base::string16& name,
30 IndexedDBDatabaseMetadata*, 30 IndexedDBDatabaseMetadata*,
31 bool* found) override; 31 bool* found) override;
32 leveldb::Status CreateIDBDatabaseMetaData(const base::string16& name, 32 leveldb::Status CreateIDBDatabaseMetaData(const base::string16& name,
33 int64_t int_version, 33 int64_t version,
34 int64_t* row_id) override; 34 int64_t* row_id) override;
35 bool UpdateIDBDatabaseIntVersion(Transaction*, 35 bool UpdateIDBDatabaseIntVersion(Transaction*,
36 int64_t row_id, 36 int64_t row_id,
37 int64_t version) override; 37 int64_t version) override;
38 leveldb::Status DeleteDatabase(const base::string16& name) override; 38 leveldb::Status DeleteDatabase(const base::string16& name) override;
39 39
40 leveldb::Status CreateObjectStore(Transaction*, 40 leveldb::Status CreateObjectStore(Transaction*,
41 int64_t database_id, 41 int64_t database_id,
42 int64_t object_store_id, 42 int64_t object_store_id,
43 const base::string16& name, 43 const base::string16& name,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 friend class base::RefCounted<IndexedDBFakeBackingStore>; 147 friend class base::RefCounted<IndexedDBFakeBackingStore>;
148 ~IndexedDBFakeBackingStore() override; 148 ~IndexedDBFakeBackingStore() override;
149 149
150 private: 150 private:
151 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore); 151 DISALLOW_COPY_AND_ASSIGN(IndexedDBFakeBackingStore);
152 }; 152 };
153 153
154 } // namespace content 154 } // namespace content
155 155
156 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_ 156 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory_unittest.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