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

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

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, 10 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 #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 27 matching lines...) Expand all
38 } 38 }
39 leveldb::Status IndexedDBFakeBackingStore::GetIDBDatabaseMetaData( 39 leveldb::Status IndexedDBFakeBackingStore::GetIDBDatabaseMetaData(
40 const base::string16& name, 40 const base::string16& name,
41 IndexedDBDatabaseMetadata*, 41 IndexedDBDatabaseMetadata*,
42 bool* found) { 42 bool* found) {
43 return leveldb::Status::OK(); 43 return leveldb::Status::OK();
44 } 44 }
45 45
46 leveldb::Status IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData( 46 leveldb::Status IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData(
47 const base::string16& name, 47 const base::string16& name,
48 int64_t int_version, 48 int64_t version,
49 int64_t* row_id) { 49 int64_t* row_id) {
50 return leveldb::Status::OK(); 50 return leveldb::Status::OK();
51 } 51 }
52 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*, 52 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*,
53 int64_t row_id, 53 int64_t row_id,
54 int64_t version) { 54 int64_t version) {
55 return false; 55 return false;
56 } 56 }
57 leveldb::Status IndexedDBFakeBackingStore::DeleteDatabase( 57 leveldb::Status IndexedDBFakeBackingStore::DeleteDatabase(
58 const base::string16& name) { 58 const base::string16& name) {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 scoped_refptr<BlobWriteCallback> callback) { 208 scoped_refptr<BlobWriteCallback> callback) {
209 callback->Run(true); 209 callback->Run(true);
210 return leveldb::Status::OK(); 210 return leveldb::Status::OK();
211 } 211 }
212 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() { 212 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() {
213 return result_; 213 return result_;
214 } 214 }
215 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {} 215 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {}
216 216
217 } // namespace content 217 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/indexed_db/indexed_db_fake_backing_store.h ('k') | content/browser/indexed_db/indexed_db_leveldb_coding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698