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

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

Issue 1948303002: Re-land: Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/ipc/common/command_buffer.mojom b/components/safe_json/public/interfaces/safe_json.mojom
similarity index 57%
copy from gpu/ipc/common/command_buffer.mojom
copy to components/safe_json/public/interfaces/safe_json.mojom
index e3677b7df6a81e46041341bc4aef1306b52eedd4..599e6c45f29dd36a131c08c1be217f38f9d87d90 100644
--- a/gpu/ipc/common/command_buffer.mojom
+++ b/components/safe_json/public/interfaces/safe_json.mojom
@@ -2,8 +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 CommandBuffer::State;
[Native]
-struct CommandBufferState;
+struct ListValue;
+
+interface SafeJsonParser {
+ Parse(string json) => (ListValue 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