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

Unified Diff: extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.h

Issue 1674583002: [chrome.displaySource] Session notification improvements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Init sCallId Created 4 years, 10 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 | « no previous file | extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | extensions/browser/api/display_source/wifi_display/wifi_display_session_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698