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

Unified Diff: mojo/services/dbus_echo/echo.mojom

Issue 242763003: Implement a trivial Mojo EchoService that can be connected to over DBus (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to switch MojoChannelInit to ChannelInit Created 6 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
« no previous file with comments | « mojo/services/dbus_echo/dbus_echo_service.cc ('k') | mojo/shell/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/dbus_echo/echo.mojom
diff --git a/tools/clang/blink_gc_plugin/tests/cycle_sub.cpp b/mojo/services/dbus_echo/echo.mojom
similarity index 53%
copy from tools/clang/blink_gc_plugin/tests/cycle_sub.cpp
copy to mojo/services/dbus_echo/echo.mojom
index 5c0d9e6768bed5b8a2d1a6855d9446208aa695ed..c2ad42a7f7e7ee195679c50daf49b100bb62ddd1 100644
--- a/tools/clang/blink_gc_plugin/tests/cycle_sub.cpp
+++ b/mojo/services/dbus_echo/echo.mojom
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cycle_sub.h"
+module mojo {
-namespace WebCore {
+[Peer=EchoClient]
+interface EchoService {
+ Echo(string to_echo) => (string echoed);
+};
-void B::trace(Visitor* visitor) {
- visitor->trace(m_c);
- A::trace(visitor);
-}
+[Peer=EchoService]
+interface EchoClient {
+};
}
« no previous file with comments | « mojo/services/dbus_echo/dbus_echo_service.cc ('k') | mojo/shell/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698