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

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

Issue 1861573002: Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix blimp shell Created 4 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
Index: components/safe_json/public/interfaces/safe_json.mojom
diff --git a/gpu/command_buffer/common/capabilities.mojom b/components/safe_json/public/interfaces/safe_json.mojom
similarity index 57%
copy from gpu/command_buffer/common/capabilities.mojom
copy to components/safe_json/public/interfaces/safe_json.mojom
index fd35409e940e193377d9411c182e99746220f2a7..599e6c45f29dd36a131c08c1be217f38f9d87d90 100644
--- a/gpu/command_buffer/common/capabilities.mojom
+++ b/components/safe_json/public/interfaces/safe_json.mojom
@@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module gpu.mojom;
+module safe_json.mojom;
[Native]
-struct Capabilities;
+struct ListValue;
+
+interface SafeJsonParser {
+ Parse(string json) => (ListValue result, string? error);
+};

Powered by Google App Engine
This is Rietveld 408576698