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

Unified Diff: content/browser/presentation/presentation_type_converters.cc

Issue 1572433002: [Media Router] Add Connecting state to PresentationConnection to bring align with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 11 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: content/browser/presentation/presentation_type_converters.cc
diff --git a/content/browser/presentation/presentation_type_converters.cc b/content/browser/presentation/presentation_type_converters.cc
index ff322315a31d39a737cd3cf6b987511ddca9ab67..cd649976d5f1b56486c7b71a01c247a8d46e831a 100644
--- a/content/browser/presentation/presentation_type_converters.cc
+++ b/content/browser/presentation/presentation_type_converters.cc
@@ -27,6 +27,8 @@ presentation::PresentationErrorType PresentationErrorTypeToMojo(
presentation::PresentationConnectionState PresentationConnectionStateToMojo(
content::PresentationConnectionState state) {
switch (state) {
+ case content::PRESENTATION_CONNECTION_STATE_CONNECTING:
+ return presentation::PRESENTATION_CONNECTION_STATE_CONNECTING;
case content::PRESENTATION_CONNECTION_STATE_CONNECTED:
return presentation::PRESENTATION_CONNECTION_STATE_CONNECTED;
case content::PRESENTATION_CONNECTION_STATE_CLOSED:

Powered by Google App Engine
This is Rietveld 408576698