Index: extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h |
diff --git a/extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h b/extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h |
index e50237ca8960201466a5c6a8805ae37d0ed166ed..6639871b116a8a084673959c22ae666f14db98e9 100644 |
--- a/extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h |
+++ b/extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h |
@@ -61,11 +61,9 @@ class WiFiDisplaySessionServiceImpl |
WiFiDisplaySessionServiceClientPtr client_; |
DisplaySourceConnectionDelegate* delegate_; |
- // Id of the currenty connected sink (if any), obtained from connection |
- // delegate. Keep it so that we know if a session has been ended. |
- int last_connected_sink_; |
+ api::display_source::SinkState sink_state_; |
// Id of the sink of the session this object is associated with. |
- int own_sink_; |
+ int sink_id_; |
base::WeakPtrFactory<WiFiDisplaySessionServiceImpl> weak_factory_; |