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

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

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 #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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 int64 object_store_id) { 76 int64 object_store_id) {
77 return leveldb::Status::OK(); 77 return leveldb::Status::OK();
78 } 78 }
79 79
80 leveldb::Status IndexedDBFakeBackingStore::PutRecord( 80 leveldb::Status IndexedDBFakeBackingStore::PutRecord(
81 IndexedDBBackingStore::Transaction* transaction, 81 IndexedDBBackingStore::Transaction* transaction,
82 int64 database_id, 82 int64 database_id,
83 int64 object_store_id, 83 int64 object_store_id,
84 const IndexedDBKey& key, 84 const IndexedDBKey& key,
85 IndexedDBValue* value, 85 IndexedDBValue* value,
86 ScopedVector<webkit_blob::BlobDataHandle>* handles, 86 ScopedVector<storage::BlobDataHandle>* handles,
87 RecordIdentifier* record) { 87 RecordIdentifier* record) {
88 return leveldb::Status::OK(); 88 return leveldb::Status::OK();
89 } 89 }
90 90
91 leveldb::Status IndexedDBFakeBackingStore::ClearObjectStore( 91 leveldb::Status IndexedDBFakeBackingStore::ClearObjectStore(
92 Transaction*, 92 Transaction*,
93 int64 database_id, 93 int64 database_id,
94 int64 object_store_id) { 94 int64 object_store_id) {
95 return leveldb::Status::OK(); 95 return leveldb::Status::OK();
96 } 96 }
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 scoped_refptr<BlobWriteCallback> callback) { 209 scoped_refptr<BlobWriteCallback> callback) {
210 callback->Run(true); 210 callback->Run(true);
211 return leveldb::Status::OK(); 211 return leveldb::Status::OK();
212 } 212 }
213 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() { 213 leveldb::Status IndexedDBFakeBackingStore::FakeTransaction::CommitPhaseTwo() {
214 return result_; 214 return result_;
215 } 215 }
216 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {} 216 void IndexedDBFakeBackingStore::FakeTransaction::Rollback() {}
217 217
218 } // namespace content 218 } // 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_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698