Index: content/browser/indexed_db/indexed_db_dispatcher_host.h |
diff --git a/content/browser/indexed_db/indexed_db_dispatcher_host.h b/content/browser/indexed_db/indexed_db_dispatcher_host.h |
index 11a2f4e54bbf159fe5b8d1b809a237d784280cd2..5140efeabdfb3db9b47ceca5555581e4c0c43f99 100644 |
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h |
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h |
@@ -8,6 +8,7 @@ |
#include <stdint.h> |
#include <map> |
+#include <memory> |
#include <string> |
#include <utility> |
#include <vector> |
@@ -191,7 +192,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
// before posting to the IDB TaskRunner for the rest of the job. |
void OnPutWrapper(const IndexedDBHostMsg_DatabasePut_Params& params); |
void OnPut(const IndexedDBHostMsg_DatabasePut_Params& params, |
- std::vector<storage::BlobDataHandle*> handles); |
+ std::vector<std::unique_ptr<storage::BlobDataHandle>> handles); |
void OnSetIndexKeys( |
const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params); |
void OnSetIndexesReady(int32_t ipc_database_id, |
@@ -292,8 +293,9 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter { |
const IndexedDBHostMsg_FactoryDeleteDatabase_Params& p); |
void OnAckReceivedBlobs(const std::vector<std::string>& uuids); |
- void OnPutHelper(const IndexedDBHostMsg_DatabasePut_Params& params, |
- std::vector<storage::BlobDataHandle*> handles); |
+ void OnPutHelper( |
+ const IndexedDBHostMsg_DatabasePut_Params& params, |
+ std::vector<std::unique_ptr<storage::BlobDataHandle>> handles); |
void ResetDispatcherHosts(); |
void DropBlobData(const std::string& uuid); |