Index: content/browser/presentation/presentation_service_impl.h |
diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h |
index 0aeed31d4b111cb635ede58a18f5fa940e75a394..2fd30853f0401278a799dd4caee4ae562a4918ae 100644 |
--- a/content/browser/presentation/presentation_service_impl.h |
+++ b/content/browser/presentation/presentation_service_impl.h |
@@ -92,7 +92,7 @@ class CONTENT_EXPORT PresentationServiceImpl |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, |
MaxPendingJoinSessionRequests); |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, |
- ListenForConnectionStateChangeAndChangeState); |
+ ListenForConnectionStateChange); |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, |
ListenForConnectionClose); |
FRIEND_TEST_ALL_PREFIXES(PresentationServiceImplTest, |
@@ -234,9 +234,8 @@ class CONTENT_EXPORT PresentationServiceImpl |
void OnSendMessageCallback(bool sent); |
// Calls to |delegate_| to start listening for state changes for |connection|. |
- // State changes will be returned via |OnConnectionStateChanged|. Change |
- // |connection|'s state to 'connected' after listening. |
- void ListenForConnectionStateChangeAndChangeState( |
+ // State changes will be returned via |OnConnectionStateChanged|. |
+ void ListenForConnectionStateChange( |
const PresentationSessionInfo& connection); |
void OnSessionMessages( |