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

Unified Diff: content/common/indexed_db/indexed_db_enum_traits.h

Issue 2511403003: Send IndexedDB observations through IDBDatabaseCallbacks. (Closed)
Patch Set: Remove unnecessary forward declaration. Created 4 years, 1 month 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 | « content/common/indexed_db/indexed_db.typemap ('k') | content/common/indexed_db/indexed_db_enum_traits.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_enum_traits.h
diff --git a/content/common/indexed_db/indexed_db_enum_traits.h b/content/common/indexed_db/indexed_db_enum_traits.h
index 9677a3870b1b754c7932b5a6e68acbe64a6cdf8b..d367b3248663ab1c6b44fa6901156f3e29f8c7cd 100644
--- a/content/common/indexed_db/indexed_db_enum_traits.h
+++ b/content/common/indexed_db/indexed_db_enum_traits.h
@@ -27,6 +27,15 @@ struct EnumTraits<indexed_db::mojom::DataLoss, blink::WebIDBDataLoss> {
};
template <>
+struct EnumTraits<indexed_db::mojom::OperationType,
+ blink::WebIDBOperationType> {
+ static indexed_db::mojom::OperationType ToMojom(
+ blink::WebIDBOperationType input);
+ static bool FromMojom(indexed_db::mojom::OperationType input,
+ blink::WebIDBOperationType* output);
+};
+
+template <>
struct EnumTraits<indexed_db::mojom::PutMode, blink::WebIDBPutMode> {
static indexed_db::mojom::PutMode ToMojom(blink::WebIDBPutMode input);
static bool FromMojom(indexed_db::mojom::PutMode input,
« no previous file with comments | « content/common/indexed_db/indexed_db.typemap ('k') | content/common/indexed_db/indexed_db_enum_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698