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

Unified Diff: content/browser/indexed_db/indexed_db_dispatcher_host.h

Issue 810403004: [Storage] Blob Storage Refactoring pt 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: memory leak fixed Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
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 eb727d15222a63c328aa141fb306b1718791eb57..111ab00caa459a2253b6838fed7ada61bfd2b8f8 100644
--- a/content/browser/indexed_db/indexed_db_dispatcher_host.h
+++ b/content/browser/indexed_db/indexed_db_dispatcher_host.h
@@ -104,7 +104,8 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
friend class base::DeleteHelper<IndexedDBDispatcherHost>;
// Used in nested classes.
- typedef std::map<std::string, std::pair<storage::BlobDataHandle*, int>>
+ typedef std::map<std::string,
+ std::pair<storage::BlobDataSnapshotHandle*, int>>
BlobDataHandleMap;
typedef std::map<int64, int64> TransactionIDToDatabaseIDMap;
typedef std::map<int64, uint64> TransactionIDToSizeMap;
@@ -167,7 +168,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<storage::BlobDataSnapshotHandle*> handles);
void OnSetIndexKeys(
const IndexedDBHostMsg_DatabaseSetIndexKeys_Params& params);
void OnSetIndexesReady(int32 ipc_database_id,
@@ -259,7 +260,7 @@ class IndexedDBDispatcherHost : public BrowserMessageFilter {
void OnAckReceivedBlobs(const std::vector<std::string>& uuids);
void OnPutHelper(const IndexedDBHostMsg_DatabasePut_Params& params,
- std::vector<storage::BlobDataHandle*> handles);
+ std::vector<storage::BlobDataSnapshotHandle*> handles);
void ResetDispatcherHosts();
void DropBlobData(const std::string& uuid);

Powered by Google App Engine
This is Rietveld 408576698