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 0868ddaeef2ad3ba23625874d6c289df1d5fa545..b4c3d8551bb8559dfdb45ef69db2ed4941c497a2 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, |
@@ -237,9 +237,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); |
// Passed to embedder's implementation of PresentationServiceDelegate for |