Index: content/browser/indexed_db/indexed_db_database.h |
diff --git a/content/browser/indexed_db/indexed_db_database.h b/content/browser/indexed_db/indexed_db_database.h |
index fa730b0ebf19f30352c35c26f2a935ffc5600034..48174ff63c22ca2fdb5afca9f4f9edb933a6bde2 100644 |
--- a/content/browser/indexed_db/indexed_db_database.h |
+++ b/content/browser/indexed_db/indexed_db_database.h |
@@ -22,6 +22,7 @@ |
namespace content { |
+class IndexedDBBlobInfo; |
class IndexedDBConnection; |
class IndexedDBDatabaseCallbacks; |
class IndexedDBFactory; |
@@ -29,6 +30,7 @@ class IndexedDBKey; |
class IndexedDBKeyPath; |
class IndexedDBKeyRange; |
class IndexedDBTransaction; |
+struct IndexedDBValue; |
class CONTENT_EXPORT IndexedDBDatabase |
: NON_EXPORTED_BASE(public base::RefCounted<IndexedDBDatabase>) { |
@@ -74,11 +76,13 @@ class CONTENT_EXPORT IndexedDBDatabase |
void OpenConnection( |
scoped_refptr<IndexedDBCallbacks> callbacks, |
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks, |
+ int child_process_id, |
int64 transaction_id, |
int64 version); |
void OpenConnection( |
scoped_refptr<IndexedDBCallbacks> callbacks, |
scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks, |
+ int child_process_id, |
int64 transaction_id, |
int64 version, |
blink::WebIDBDataLoss data_loss, |
@@ -134,7 +138,8 @@ class CONTENT_EXPORT IndexedDBDatabase |
scoped_refptr<IndexedDBCallbacks> callbacks); |
void Put(int64 transaction_id, |
int64 object_store_id, |
- std::string* value, |
+ IndexedDBValue* value, |
+ ScopedVector<webkit_blob::BlobDataHandle>* handles, |
scoped_ptr<IndexedDBKey> key, |
PutMode mode, |
scoped_refptr<IndexedDBCallbacks> callbacks, |
@@ -274,6 +279,9 @@ class CONTENT_EXPORT IndexedDBDatabase |
bool IsDeleteDatabaseBlocked() const; |
void DeleteDatabaseFinal(scoped_refptr<IndexedDBCallbacks> callbacks); |
+ scoped_ptr<IndexedDBConnection> CreateConnection( |
+ scoped_refptr<IndexedDBDatabaseCallbacks> database_callbacks, |
+ int child_process_id); |
IndexedDBTransaction* GetTransaction(int64 transaction_id) const; |
bool ValidateObjectStoreId(int64 object_store_id) const; |
@@ -289,7 +297,7 @@ class CONTENT_EXPORT IndexedDBDatabase |
const Identifier identifier_; |
// This might not need to be a scoped_refptr since the factory's lifetime is |
- // that of the page group, but it's better to be conservitive than sorry. |
+ // that of the page group, but it's better to be conservative than sorry. |
scoped_refptr<IndexedDBFactory> factory_; |
IndexedDBTransactionCoordinator transaction_coordinator_; |