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

Unified Diff: third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom

Issue 954643002: Update mojo sdk to rev 3d23dae011859a2aae49f1d1adde705c8e85d819 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use run_renderer_in_process() Created 5 years, 10 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: third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom
diff --git a/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom b/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom
index eb5d93070ef700f5c165ddbda38b57b26aeddba0..ade3bf37d65f8b2480ce258a54bb36c51632af6f 100644
--- a/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom
+++ b/third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_factory.mojom
@@ -29,18 +29,13 @@ interface NamedObject {
GetName() => (string name);
};
-[Client=FactoryClient]
interface Factory {
- DoStuff(Request request, handle<message_pipe>? pipe);
- DoStuff2(handle<data_pipe_consumer> pipe);
+ DoStuff(Request request, handle<message_pipe>? pipe) =>
+ (Response response, string text);
+ DoStuff2(handle<data_pipe_consumer> pipe) => (string text);
CreateNamedObject(NamedObject& obj);
RequestImportedInterface(
imported.ImportedInterface& obj) => (imported.ImportedInterface& obj);
TakeImportedInterface(
imported.ImportedInterface obj) => (imported.ImportedInterface obj);
};
-
-interface FactoryClient {
- DidStuff(Response response, string text);
- DidStuff2(string text);
-};

Powered by Google App Engine
This is Rietveld 408576698