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

Unified Diff: third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h

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/public/platform/modules/presentation/WebPresentationReceiver.h
diff --git a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
index 9f65a4f367167c61248f966d6e1d21f68fd428eb..f86bb2ac1e09bc993cf4fb7aa805627433e43d95 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
@@ -9,8 +9,8 @@
namespace blink {
-struct WebPresentationSessionInfo;
class WebPresentationConnection;
+struct WebPresentationInfo;
enum class WebPresentationConnectionState;
// The delegate Blink provides to WebPresentationReceiverClient in order to get
@@ -21,10 +21,11 @@ class BLINK_PLATFORM_EXPORT WebPresentationReceiver {
// Called when receiver page gets an incoming connection.
virtual WebPresentationConnection* onReceiverConnectionAvailable(
- const WebPresentationSessionInfo&) = 0;
+ const WebPresentationInfo&) = 0;
// Called when receiver page gets destroyed.
- virtual void didChangeSessionState(WebPresentationConnectionState) = 0;
+ // TODO: Rename to onReceiverTerminated?
+ virtual void didChangeConnectionState(WebPresentationConnectionState) = 0;
// Called when any PresentationConnection object on receiver page invokes
// connnection.terminate().

Powered by Google App Engine
This is Rietveld 408576698