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

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

Issue 2601983002: [IndexedDB] Adding transaction and value support to observers (Closed)
Patch Set: Transactions working Created 3 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_callbacks.h
diff --git a/content/browser/indexed_db/indexed_db_callbacks.h b/content/browser/indexed_db/indexed_db_callbacks.h
index c3b564f33c7ca85799c254e21d6f7c1c90e93914..dbf090fa6bbe13296a41e09379002092ad28ed58 100644
--- a/content/browser/indexed_db/indexed_db_callbacks.h
+++ b/content/browser/indexed_db/indexed_db_callbacks.h
@@ -36,6 +36,9 @@ struct IndexedDBValue;
class CONTENT_EXPORT IndexedDBCallbacks
: public base::RefCounted<IndexedDBCallbacks> {
public:
+ // Destructively converts an IndexedDBValue to a Mojo Value.
+ static ::indexed_db::mojom::ValuePtr ConvertValue(IndexedDBValue* value);
+
IndexedDBCallbacks(
scoped_refptr<IndexedDBDispatcherHost> dispatcher_host,
const url::Origin& origin,
« no previous file with comments | « no previous file | content/browser/indexed_db/indexed_db_callbacks.cc » ('j') | content/browser/indexed_db/indexed_db_connection.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698