| Index: content/browser/indexed_db/indexed_db_fake_backing_store.h
|
| diff --git a/content/browser/indexed_db/indexed_db_fake_backing_store.h b/content/browser/indexed_db/indexed_db_fake_backing_store.h
|
| index 9a4fd0927a691968e8a4fee721dbf38be92503be..8f03300557085c824e74695e57154a58200eb706 100644
|
| --- a/content/browser/indexed_db/indexed_db_fake_backing_store.h
|
| +++ b/content/browser/indexed_db/indexed_db_fake_backing_store.h
|
| @@ -5,8 +5,11 @@
|
| #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
|
| #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FAKE_BACKING_STORE_H_
|
|
|
| +#include <stdint.h>
|
| +
|
| #include <vector>
|
|
|
| +#include "base/macros.h"
|
| #include "content/browser/indexed_db/indexed_db_backing_store.h"
|
|
|
| namespace base {
|
| @@ -28,100 +31,101 @@ class IndexedDBFakeBackingStore : public IndexedDBBackingStore {
|
| bool* found) override;
|
| leveldb::Status CreateIDBDatabaseMetaData(const base::string16& name,
|
| const base::string16& version,
|
| - int64 int_version,
|
| - int64* row_id) override;
|
| + int64_t int_version,
|
| + int64_t* row_id) override;
|
| bool UpdateIDBDatabaseIntVersion(Transaction*,
|
| - int64 row_id,
|
| - int64 version) override;
|
| + int64_t row_id,
|
| + int64_t version) override;
|
| leveldb::Status DeleteDatabase(const base::string16& name) override;
|
|
|
| leveldb::Status CreateObjectStore(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const base::string16& name,
|
| const IndexedDBKeyPath&,
|
| bool auto_increment) override;
|
|
|
| leveldb::Status DeleteObjectStore(Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id) override;
|
| + int64_t database_id,
|
| + int64_t object_store_id) override;
|
|
|
| leveldb::Status PutRecord(IndexedDBBackingStore::Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const IndexedDBKey& key,
|
| IndexedDBValue* value,
|
| ScopedVector<storage::BlobDataHandle>* handles,
|
| RecordIdentifier* record) override;
|
|
|
| leveldb::Status ClearObjectStore(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id) override;
|
| + int64_t database_id,
|
| + int64_t object_store_id) override;
|
| leveldb::Status DeleteRecord(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const RecordIdentifier&) override;
|
| - leveldb::Status GetKeyGeneratorCurrentNumber(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64* current_number) override;
|
| + leveldb::Status GetKeyGeneratorCurrentNumber(
|
| + Transaction*,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t* current_number) override;
|
| leveldb::Status MaybeUpdateKeyGeneratorCurrentNumber(
|
| Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 new_number,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t new_number,
|
| bool check_current) override;
|
| leveldb::Status KeyExistsInObjectStore(
|
| Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const IndexedDBKey&,
|
| RecordIdentifier* found_record_identifier,
|
| bool* found) override;
|
|
|
| leveldb::Status CreateIndex(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 index_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t index_id,
|
| const base::string16& name,
|
| const IndexedDBKeyPath&,
|
| bool is_unique,
|
| bool is_multi_entry) override;
|
| leveldb::Status DeleteIndex(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 index_id) override;
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t index_id) override;
|
| leveldb::Status PutIndexDataForRecord(Transaction*,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 index_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t index_id,
|
| const IndexedDBKey&,
|
| const RecordIdentifier&) override;
|
| - void ReportBlobUnused(int64 database_id, int64 blob_key) override;
|
| + void ReportBlobUnused(int64_t database_id, int64_t blob_key) override;
|
| scoped_ptr<Cursor> OpenObjectStoreKeyCursor(
|
| Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const IndexedDBKeyRange& key_range,
|
| blink::WebIDBCursorDirection,
|
| leveldb::Status*) override;
|
| scoped_ptr<Cursor> OpenObjectStoreCursor(Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| const IndexedDBKeyRange& key_range,
|
| blink::WebIDBCursorDirection,
|
| leveldb::Status*) override;
|
| scoped_ptr<Cursor> OpenIndexKeyCursor(Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 index_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t index_id,
|
| const IndexedDBKeyRange& key_range,
|
| blink::WebIDBCursorDirection,
|
| leveldb::Status*) override;
|
| scoped_ptr<Cursor> OpenIndexCursor(Transaction* transaction,
|
| - int64 database_id,
|
| - int64 object_store_id,
|
| - int64 index_id,
|
| + int64_t database_id,
|
| + int64_t object_store_id,
|
| + int64_t index_id,
|
| const IndexedDBKeyRange& key_range,
|
| blink::WebIDBCursorDirection,
|
| leveldb::Status*) override;
|
|
|