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

Unified Diff: third_party/WebKit/Source/modules/presentation/PresentationController.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/Source/modules/presentation/PresentationController.h
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationController.h b/third_party/WebKit/Source/modules/presentation/PresentationController.h
index 88afa404480ddb9b41a4627af94ad13f56076374..26c97c1204608bb024c9bca97a321178a33dd5f8 100644
--- a/third_party/WebKit/Source/modules/presentation/PresentationController.h
+++ b/third_party/WebKit/Source/modules/presentation/PresentationController.h
@@ -45,18 +45,18 @@ class MODULES_EXPORT PresentationController final
DECLARE_VIRTUAL_TRACE();
// Implementation of WebPresentationController.
- WebPresentationConnection* didStartDefaultSession(
- const WebPresentationSessionInfo&) override;
- void didChangeSessionState(const WebPresentationSessionInfo&,
- WebPresentationConnectionState) override;
- void didCloseConnection(const WebPresentationSessionInfo&,
+ WebPresentationConnection* didStartDefaultPresentation(
+ const WebPresentationInfo&) override;
+ void didChangeConnectionState(const WebPresentationInfo&,
+ WebPresentationConnectionState) override;
+ void didCloseConnection(const WebPresentationInfo&,
WebPresentationConnectionCloseReason,
const WebString& message) override;
- void didReceiveSessionTextMessage(const WebPresentationSessionInfo&,
- const WebString&) override;
- void didReceiveSessionBinaryMessage(const WebPresentationSessionInfo&,
- const uint8_t* data,
- size_t length) override;
+ void didReceiveConnectionTextMessage(const WebPresentationInfo&,
+ const WebString&) override;
+ void didReceiveConnectionBinaryMessage(const WebPresentationInfo&,
+ const uint8_t* data,
+ size_t length) override;
// Called by the Presentation object to advertize itself to the controller.
// The Presentation object is kept as a WeakMember in order to avoid keeping
@@ -86,7 +86,7 @@ class MODULES_EXPORT PresentationController final
// Return the connection associated with the given |connectionClient| or
// null if it doesn't exist.
- PresentationConnection* findConnection(const WebPresentationSessionInfo&);
+ PresentationConnection* findConnection(const WebPresentationInfo&);
// The WebPresentationClient which allows communicating with the embedder.
// It is not owned by the PresentationController but the controller will

Powered by Google App Engine
This is Rietveld 408576698