Chromium Code Reviews| Index: content/browser/presentation/presentation_service_impl.cc |
| diff --git a/content/browser/presentation/presentation_service_impl.cc b/content/browser/presentation/presentation_service_impl.cc |
| index 46ec67cf0158791d666a023c92abfb3e71e47546..45d933cd0d9868565d98daadc8069e7450c19d33 100644 |
| --- a/content/browser/presentation/presentation_service_impl.cc |
| +++ b/content/browser/presentation/presentation_service_impl.cc |
| @@ -297,6 +297,8 @@ void PresentationServiceImpl::ListenForConnectionStateChange( |
| void PresentationServiceImpl::OnStartSessionSucceeded( |
| int request_session_id, |
| const PresentationSessionInfo& session_info) { |
| + DVLOG(2) << "PresentationServiceImpl::OnStartSessionSucceeded" |
|
mark a. foltz
2016/11/03 18:32:05
Please remove log statements here and below. It's
zhaobin
2016/11/03 23:00:46
Done.
|
| + << " [is_offscreen]: " << session_info.is_offscreen; |
| if (request_session_id != start_session_request_id_) |
| return; |
| @@ -325,6 +327,8 @@ void PresentationServiceImpl::OnStartSessionError( |
| void PresentationServiceImpl::OnJoinSessionSucceeded( |
| int request_session_id, |
| const PresentationSessionInfo& session_info) { |
| + DVLOG(2) << "PresentationServiceImpl::OnJoinSessionSucceeded" |
| + << " [is_offscreen]: " << session_info.is_offscreen; |
| if (RunAndEraseJoinSessionMojoCallback( |
| request_session_id, |
| blink::mojom::PresentationSessionInfo::From(session_info), |
| @@ -553,6 +557,8 @@ void PresentationServiceImpl::OnDelegateDestroyed() { |
| void PresentationServiceImpl::OnDefaultPresentationStarted( |
| const PresentationSessionInfo& connection) { |
| + DVLOG(2) << "PresentationServiceImpl::OnDefaultPresentationStarted" |
| + << " [is_offscreen]: " << connection.is_offscreen; |
| DCHECK(client_.get()); |
| client_->OnDefaultSessionStarted( |
| blink::mojom::PresentationSessionInfo::From(connection)); |