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

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

Issue 2874483002: [Presentation API] Remove closed connections from PresentationConnectionList (Closed)
Patch Set: rebase with master Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 343a37070a622676dd5c51998e6a0c7fd494add5..6116881de758091f1f5a6fddbf03676f08038bdf 100644
--- a/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
+++ b/third_party/WebKit/public/platform/modules/presentation/WebPresentationReceiver.h
@@ -30,6 +30,10 @@ class BLINK_PLATFORM_EXPORT WebPresentationReceiver {
// Called when any PresentationConnection object on receiver page invokes
// connnection.terminate().
virtual void TerminateConnection() = 0;
+
+ // Called when any receiver connection switches to 'closed' state. Remove the
+ // connection from PresentationReceiver's connection list.
+ virtual void RemoveConnection(WebPresentationConnection*) = 0;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/presentation/PresentationReceiverTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698