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

Unified Diff: components/safe_json/public/interfaces/safe_json.mojom

Issue 2577563002: Add struct traits for base::Value. (Closed)
Patch Set: rebase Created 4 years 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: components/safe_json/public/interfaces/safe_json.mojom
diff --git a/components/safe_json/public/interfaces/safe_json.mojom b/components/safe_json/public/interfaces/safe_json.mojom
index 599e6c45f29dd36a131c08c1be217f38f9d87d90..c5c5d74b6e9b4bdd4ffe03b20e75f478e359f81f 100644
--- a/components/safe_json/public/interfaces/safe_json.mojom
+++ b/components/safe_json/public/interfaces/safe_json.mojom
@@ -4,9 +4,8 @@
module safe_json.mojom;
-[Native]
-struct ListValue;
+import "mojo/common/values.mojom";
interface SafeJsonParser {
- Parse(string json) => (ListValue result, string? error);
+ Parse(string json) => (mojo.common.mojom.Value? result, string? error);
};
« no previous file with comments | « components/safe_json/public/interfaces/BUILD.gn ('k') | components/safe_json/public/interfaces/safe_json.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698