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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp

Issue 2737413003: [Presentation API] Remove references to presentation sessions. (Closed)
Patch Set: Update PresentationServiceDelegateImpl unittest Created 3 years, 9 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/WebKit/Source/modules/presentation/PresentationReceiver.cpp
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
index 0419e13923f9475d05673d9457da00e657b60b90..a550625000760e567369809fb40e8603ad52bf97 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
+++ b/third_party/WebKit/Source/modules/presentation/PresentationReceiver.cpp
@@ -43,10 +43,10 @@ ScriptPromise PresentationReceiver::connectionList(ScriptState* scriptState) {
}
WebPresentationConnection* PresentationReceiver::onReceiverConnectionAvailable(
- const WebPresentationSessionInfo& sessionInfo) {
+ const WebPresentationInfo& presentationInfo) {
// take() will call PresentationReceiver::registerConnection()
// and register the connection.
- auto connection = PresentationConnection::take(this, sessionInfo);
+ auto connection = PresentationConnection::take(this, presentationInfo);
// receiver.connectionList property not accessed
if (!m_connectionListProperty)
@@ -63,7 +63,7 @@ WebPresentationConnection* PresentationReceiver::onReceiverConnectionAvailable(
return connection;
}
-void PresentationReceiver::didChangeSessionState(
+void PresentationReceiver::didChangeConnectionState(
WebPresentationConnectionState state) {
// TODO(zhaobin): remove or modify DCHECK when receiver supports more
// connection state change.

Powered by Google App Engine
This is Rietveld 408576698