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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 8
9 namespace content { 9 namespace content {
10 10
11 IndexedDBFakeBackingStore::~IndexedDBFakeBackingStore() {} 11 IndexedDBFakeBackingStore::~IndexedDBFakeBackingStore() {}
12 12
13 std::vector<string16> IndexedDBFakeBackingStore::GetDatabaseNames() { 13 std::vector<base::string16> IndexedDBFakeBackingStore::GetDatabaseNames() {
14 return std::vector<string16>(); 14 return std::vector<base::string16>();
15 } 15 }
16 bool IndexedDBFakeBackingStore::GetIDBDatabaseMetaData( 16 bool IndexedDBFakeBackingStore::GetIDBDatabaseMetaData(
17 const string16& name, 17 const base::string16& name,
18 IndexedDBDatabaseMetadata*, 18 IndexedDBDatabaseMetadata*,
19 bool* found) { 19 bool* found) {
20 return true; 20 return true;
21 } 21 }
22 22
23 bool IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData( 23 bool IndexedDBFakeBackingStore::CreateIDBDatabaseMetaData(
24 const string16& name, 24 const base::string16& name,
25 const string16& version, 25 const base::string16& version,
26 int64 int_version, 26 int64 int_version,
27 int64* row_id) { 27 int64* row_id) {
28 return true; 28 return true;
29 } 29 }
30 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*, 30 bool IndexedDBFakeBackingStore::UpdateIDBDatabaseIntVersion(Transaction*,
31 int64 row_id, 31 int64 row_id,
32 int64 version) { 32 int64 version) {
33 return false; 33 return false;
34 } 34 }
35 bool IndexedDBFakeBackingStore::DeleteDatabase(const string16& name) { 35 bool IndexedDBFakeBackingStore::DeleteDatabase(const base::string16& name) {
36 return true; 36 return true;
37 } 37 }
38 38
39 bool IndexedDBFakeBackingStore::CreateObjectStore(Transaction*, 39 bool IndexedDBFakeBackingStore::CreateObjectStore(Transaction*,
40 int64 database_id, 40 int64 database_id,
41 int64 object_store_id, 41 int64 object_store_id,
42 const string16& name, 42 const base::string16& name,
43 const IndexedDBKeyPath&, 43 const IndexedDBKeyPath&,
44 bool auto_increment) { 44 bool auto_increment) {
45 return false; 45 return false;
46 } 46 }
47 47
48 bool IndexedDBFakeBackingStore::ClearObjectStore(Transaction*, 48 bool IndexedDBFakeBackingStore::ClearObjectStore(Transaction*,
49 int64 database_id, 49 int64 database_id,
50 int64 object_store_id) { 50 int64 object_store_id) {
51 return false; 51 return false;
52 } 52 }
(...skipping 25 matching lines...) Expand all
78 const IndexedDBKey&, 78 const IndexedDBKey&,
79 RecordIdentifier* found_record_identifier, 79 RecordIdentifier* found_record_identifier,
80 bool* found) { 80 bool* found) {
81 return true; 81 return true;
82 } 82 }
83 83
84 bool IndexedDBFakeBackingStore::CreateIndex(Transaction*, 84 bool IndexedDBFakeBackingStore::CreateIndex(Transaction*,
85 int64 database_id, 85 int64 database_id,
86 int64 object_store_id, 86 int64 object_store_id,
87 int64 index_id, 87 int64 index_id,
88 const string16& name, 88 const base::string16& name,
89 const IndexedDBKeyPath&, 89 const IndexedDBKeyPath&,
90 bool is_unique, 90 bool is_unique,
91 bool is_multi_entry) { 91 bool is_multi_entry) {
92 return false; 92 return false;
93 } 93 }
94 94
95 bool IndexedDBFakeBackingStore::DeleteIndex(Transaction*, 95 bool IndexedDBFakeBackingStore::DeleteIndex(Transaction*,
96 int64 database_id, 96 int64 database_id,
97 int64 object_store_id, 97 int64 object_store_id,
98 int64 index_id) { 98 int64 index_id) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 IndexedDBBackingStore::Transaction* transaction, 140 IndexedDBBackingStore::Transaction* transaction,
141 int64 database_id, 141 int64 database_id,
142 int64 object_store_id, 142 int64 object_store_id,
143 int64 index_id, 143 int64 index_id,
144 const IndexedDBKeyRange& key_range, 144 const IndexedDBKeyRange& key_range,
145 indexed_db::CursorDirection) { 145 indexed_db::CursorDirection) {
146 return scoped_ptr<IndexedDBBackingStore::Cursor>(); 146 return scoped_ptr<IndexedDBBackingStore::Cursor>();
147 } 147 }
148 148
149 } // namespace content 149 } // 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_index_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698