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

Unified Diff: chrome/browser/media/router/browser_presentation_connection_proxy.h

Issue 2714693002: [Presentation API] Use connection proxy to change connection state to 'closed' (Closed)
Patch Set: fix unittest errors Created 3 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 | chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/browser_presentation_connection_proxy.h
diff --git a/chrome/browser/media/router/browser_presentation_connection_proxy.h b/chrome/browser/media/router/browser_presentation_connection_proxy.h
index 3fb07ec3b628afcd0b338495d4671b06c86af17b..7f47becacaf17332734d618194b2ac3946681698 100644
--- a/chrome/browser/media/router/browser_presentation_connection_proxy.h
+++ b/chrome/browser/media/router/browser_presentation_connection_proxy.h
@@ -62,6 +62,10 @@ class BrowserPresentationConnectionProxy
// support state change.
void DidChangeState(content::PresentationConnectionState state) override {}
+ // Underlying media route is always connected. Media route class does not
+ // support state change.
+ void OnClose() override {}
+
private:
// |router_| not owned by this class.
MediaRouter* const router_;
« no previous file with comments | « no previous file | chrome/browser/media/router/browser_presentation_connection_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698