namespace content {

PresentationSessionDispatcher::PresentationSessionDispatcher(
    presentation::PresentationSessionInfoPtr session_info)
    : session_info_(session_info.Pass()) {
}

PresentationSessionDispatcher::~PresentationSessionDispatcher() {
}

const mojo::String& PresentationSessionDispatcher::GetUrl() const {
  DCHECK(!session_info_.is_null());
  return session_info_->url;
}

const mojo::String& PresentationSessionDispatcher::GetId() const {
  DCHECK(!session_info_.is_null());
  return session_info_->id;
}

}  // namespace content
