Index: third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js |
diff --git a/third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js b/third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js |
index a9b1c76bdb19d24a78e94478ff020bb16ed598a3..9bfcbad01742b19ad93892297aa0cc795a1e0deb 100644 |
--- a/third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js |
+++ b/third_party/WebKit/LayoutTests/presentation/resources/presentation-service-mock.js |
@@ -38,16 +38,16 @@ let presentationServiceMock = loadMojoModules( |
this.onSetClient(); |
} |
- startSession(urls) { |
+ startPresentation(urls) { |
return Promise.resolve({ |
- sessionInfo: { url: urls[0], id: 'fakesession' }, |
+ presentation_info: { url: urls[0], id: 'fakePresentationId' }, |
error: null, |
}); |
} |
- joinSession(urls) { |
+ reconnectPresentation(urls) { |
return Promise.resolve({ |
- sessionInfo: { url: urls[0], id: 'fakeSessionId' }, |
+ presentation_info: { url: urls[0], id: 'fakePresentationId' }, |
error: null, |
}); |
} |
@@ -59,11 +59,12 @@ let presentationServiceMock = loadMojoModules( |
} |
setPresentationConnection( |
- seesionInfo, controllerConnectionPtr, receiverConnectionRequest) { |
+ presentation_info, controllerConnectionPtr, |
+ receiverConnectionRequest) { |
this.controllerConnectionPtr_ = controllerConnectionPtr; |
this.receiverConnectionRequest_ = receiverConnectionRequest; |
this.client_.onConnectionStateChanged( |
- seesionInfo, |
+ presentation_info, |
presentationService.PresentationConnectionState.CONNECTED); |
} |