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

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

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: small cleanup Created 7 years 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/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 9
9 namespace content { 10 namespace content {
10 11
12 IndexedDBFakeBackingStore::IndexedDBFakeBackingStore()
13 : IndexedDBBackingStore(NULL,
14 GURL("http://localhost:81"),
15 base::FilePath(),
16 NULL,
17 scoped_ptr<LevelDBDatabase>(),
18 scoped_ptr<LevelDBComparator>(),
19 NULL) {}
11 IndexedDBFakeBackingStore::~IndexedDBFakeBackingStore() {} 20 IndexedDBFakeBackingStore::~IndexedDBFakeBackingStore() {}
12 21
13 std::vector<string16> IndexedDBFakeBackingStore::GetDatabaseNames() { 22 std::vector<string16> IndexedDBFakeBackingStore::GetDatabaseNames() {
14 return std::vector<string16>(); 23 return std::vector<string16>();
15 } 24 }
16 bool IndexedDBFakeBackingStore::GetIDBDatabaseMetaData( 25 bool IndexedDBFakeBackingStore::GetIDBDatabaseMetaData(
17 const string16& name, 26 const string16& name,
18 IndexedDBDatabaseMetadata*, 27 IndexedDBDatabaseMetadata*,
19 bool* found) { 28 bool* found) {
20 return true; 29 return true;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 IndexedDBBackingStore::Transaction* transaction, 149 IndexedDBBackingStore::Transaction* transaction,
141 int64 database_id, 150 int64 database_id,
142 int64 object_store_id, 151 int64 object_store_id,
143 int64 index_id, 152 int64 index_id,
144 const IndexedDBKeyRange& key_range, 153 const IndexedDBKeyRange& key_range,
145 indexed_db::CursorDirection) { 154 indexed_db::CursorDirection) {
146 return scoped_ptr<IndexedDBBackingStore::Cursor>(); 155 return scoped_ptr<IndexedDBBackingStore::Cursor>();
147 } 156 }
148 157
149 } // namespace content 158 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698