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

Unified Diff: sky/tests/services/iframe-embed-vmc.sky

Issue 959993002: Dart: Removes name conflicts from generated bindings. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Removes unused constructors 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: sky/tests/services/iframe-embed-vmc.sky
diff --git a/sky/tests/services/iframe-embed-vmc.sky b/sky/tests/services/iframe-embed-vmc.sky
index 1396b0d66d74d2ecbbf5c8fefe7177c64f189334..e13f9a18d59c9ae7d0d6159a464b0d3aa0872390 100644
--- a/sky/tests/services/iframe-embed-vmc.sky
+++ b/sky/tests/services/iframe-embed-vmc.sky
@@ -30,15 +30,15 @@ class IFrameEmbed extends Application {
// resolve until the vmcApp's onEmbed() method runs.
final echoService = new echo_service_mojom.EchoServiceProxy.unbound();
vmcAppConnection.requestService(echoService);
- echoService.echoString("success").then((response) {
+ echoService.ptr.echoString("success").then((response) {
internals.notifyTestComplete(response.value);
});
var applicationPipe = new MojoMessagePipe();
var proxyEndpoint = applicationPipe.endpoints[0];
var applicationEndpoint = applicationPipe.endpoints[1];
- vmcAppConnection.remoteServiceProvider.connectToService(
- view_manager.ViewManagerClient.name, applicationEndpoint);
+ vmcAppConnection.remoteServiceProvider.ptr.connectToService(
+ view_manager.ViewManagerClientName, applicationEndpoint);
document.querySelector("iframe").
embedViewManagerClient(proxyEndpoint.handle.h);
}
@@ -47,7 +47,6 @@ class IFrameEmbed extends Application {
main() {
var messagePipe = new MojoMessagePipe();
var app = new IFrameEmbed(messagePipe.endpoints[1]);
- app.listen();
var shellProxy = new shell_mojom.ShellProxy.fromHandle(
new MojoHandle(internals.takeShellProxyHandle()));
app.initializeFromShellProxy(shellProxy, [], "");

Powered by Google App Engine
This is Rietveld 408576698