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

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

Issue 238043007: Complete registration of blobs before sending back an indexed DB value that contains them. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ran clang-format Created 6 years, 8 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
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h
index 03fc615ce87ee40820b170514c85133802708510..1bf5c110ccdfbd29240a18f167c725670e84bf33 100644
--- a/content/browser/indexed_db/indexed_db_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_callbacks.h
@@ -20,6 +20,7 @@
#include "url/gurl.h"
namespace content {
+class IndexedDBBlobInfo;
class IndexedDBConnection;
class IndexedDBCursor;
class IndexedDBDatabase;
@@ -82,7 +83,7 @@ class CONTENT_EXPORT IndexedDBCallbacks
virtual void OnSuccessWithPrefetch(
const std::vector<IndexedDBKey>& keys,
const std::vector<IndexedDBKey>& primary_keys,
- const std::vector<IndexedDBValue>& values);
+ std::vector<IndexedDBValue>& values);
// IndexedDBDatabase::Get (with key injection)
virtual void OnSuccess(IndexedDBValue* value,
@@ -109,6 +110,9 @@ class CONTENT_EXPORT IndexedDBCallbacks
virtual ~IndexedDBCallbacks();
private:
+ void RegisterBlobsAndSend(const std::vector<IndexedDBBlobInfo>& blob_info,
+ const base::Closure& callback);
+
friend class base::RefCounted<IndexedDBCallbacks>;
// Originally from IndexedDBCallbacks:
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698