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

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

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_class_factory.h" 5 #include "content/browser/indexed_db/indexed_db_class_factory.h"
6 #include "content/browser/indexed_db/indexed_db_transaction.h" 6 #include "content/browser/indexed_db/indexed_db_transaction.h"
7 #include "content/browser/indexed_db/leveldb/leveldb_iterator_impl.h" 7 #include "content/browser/indexed_db/leveldb/leveldb_iterator_impl.h"
8 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h" 8 #include "content/browser/indexed_db/leveldb/leveldb_transaction.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 15 matching lines...) Expand all
26 26
27 IndexedDBDatabase* IndexedDBClassFactory::CreateIndexedDBDatabase( 27 IndexedDBDatabase* IndexedDBClassFactory::CreateIndexedDBDatabase(
28 const base::string16& name, 28 const base::string16& name,
29 IndexedDBBackingStore* backing_store, 29 IndexedDBBackingStore* backing_store,
30 IndexedDBFactory* factory, 30 IndexedDBFactory* factory,
31 const IndexedDBDatabase::Identifier& unique_identifier) { 31 const IndexedDBDatabase::Identifier& unique_identifier) {
32 return new IndexedDBDatabase(name, backing_store, factory, unique_identifier); 32 return new IndexedDBDatabase(name, backing_store, factory, unique_identifier);
33 } 33 }
34 34
35 IndexedDBTransaction* IndexedDBClassFactory::CreateIndexedDBTransaction( 35 IndexedDBTransaction* IndexedDBClassFactory::CreateIndexedDBTransaction(
36 int64 id, 36 int64_t id,
37 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks, 37 scoped_refptr<IndexedDBDatabaseCallbacks> callbacks,
38 const std::set<int64>& scope, 38 const std::set<int64_t>& scope,
39 blink::WebIDBTransactionMode mode, 39 blink::WebIDBTransactionMode mode,
40 IndexedDBDatabase* db, 40 IndexedDBDatabase* db,
41 IndexedDBBackingStore::Transaction* backing_store_transaction) { 41 IndexedDBBackingStore::Transaction* backing_store_transaction) {
42 return new IndexedDBTransaction(id, callbacks, scope, mode, db, 42 return new IndexedDBTransaction(id, callbacks, scope, mode, db,
43 backing_store_transaction); 43 backing_store_transaction);
44 } 44 }
45 45
46 LevelDBTransaction* IndexedDBClassFactory::CreateLevelDBTransaction( 46 LevelDBTransaction* IndexedDBClassFactory::CreateLevelDBTransaction(
47 LevelDBDatabase* db) { 47 LevelDBDatabase* db) {
48 return new LevelDBTransaction(db); 48 return new LevelDBTransaction(db);
49 } 49 }
50 50
51 content::LevelDBIteratorImpl* IndexedDBClassFactory::CreateIteratorImpl( 51 content::LevelDBIteratorImpl* IndexedDBClassFactory::CreateIteratorImpl(
52 scoped_ptr<leveldb::Iterator> iterator) { 52 scoped_ptr<leveldb::Iterator> iterator) {
53 return new LevelDBIteratorImpl(iterator.Pass()); 53 return new LevelDBIteratorImpl(iterator.Pass());
54 } 54 }
55 55
56 } // namespace content 56 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698