| Index: chrome/browser/media/router/create_presentation_session_request.cc | 
| diff --git a/chrome/browser/media/router/create_presentation_session_request.cc b/chrome/browser/media/router/create_presentation_session_request.cc | 
| index 461c3610db7b19f100b811da9aa4402652648a4f..ddfbc6b79d7229d00a91b5f945c7e7fcdcf27943 100644 | 
| --- a/chrome/browser/media/router/create_presentation_session_request.cc | 
| +++ b/chrome/browser/media/router/create_presentation_session_request.cc | 
| @@ -55,4 +55,20 @@ void CreatePresentationSessionRequest::MaybeInvokeErrorCallback( | 
| } | 
| } | 
|  | 
| +// static | 
| +void CreatePresentationSessionRequest::HandleRouteResponse( | 
| +    scoped_ptr<CreatePresentationSessionRequest> presentation_request, | 
| +    const MediaRoute* route, | 
| +    const std::string& presentation_id, | 
| +    const std::string& error) { | 
| +  DCHECK(presentation_request); | 
| +  if (!route) { | 
| +    presentation_request->MaybeInvokeErrorCallback( | 
| +        content::PresentationError(content::PRESENTATION_ERROR_UNKNOWN, error)); | 
| +  } else { | 
| +    presentation_request->MaybeInvokeSuccessCallback( | 
| +        presentation_id, route->media_route_id()); | 
| +  } | 
| +} | 
| + | 
| }  // namespace media_router | 
|  |