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

Unified Diff: mojo/public/interfaces/bindings/tests/test_bad_messages.mojom

Issue 2202893002: Mojo C++ Bindings: Add helpers for bad message reporting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 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: mojo/public/interfaces/bindings/tests/test_bad_messages.mojom
diff --git a/cc/ipc/filter_operations.mojom b/mojo/public/interfaces/bindings/tests/test_bad_messages.mojom
similarity index 50%
copy from cc/ipc/filter_operations.mojom
copy to mojo/public/interfaces/bindings/tests/test_bad_messages.mojom
index 9e94216aefe2c30443cac53624263a9f0cfad188..dcd594754d5bc79c4c8b5649d0addfc5ed366706 100644
--- a/cc/ipc/filter_operations.mojom
+++ b/mojo/public/interfaces/bindings/tests/test_bad_messages.mojom
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module cc.mojom;
+module mojo.test;
-import "cc/ipc/filter_operation.mojom";
+interface TestBadMessages {
+ RejectEventually() => ();
+ RequestResponse() => ();
-// See cc/output/filter_operations.h.
-struct FilterOperations {
- array<cc.mojom.FilterOperation> operations;
+ [Sync] RejectSync() => ();
+ [Sync] RequestResponseSync() => ();
};
-

Powered by Google App Engine
This is Rietveld 408576698