| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/browser/presentation_session.h" | 5 #include "content/public/common/presentation_session.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 PresentationSessionInfo::PresentationSessionInfo( | 9 PresentationSessionInfo::PresentationSessionInfo( |
| 10 const GURL& presentation_url, | 10 const GURL& presentation_url, |
| 11 const std::string& presentation_id) | 11 const std::string& presentation_id) |
| 12 : presentation_url(presentation_url), presentation_id(presentation_id) {} | 12 : presentation_url(presentation_url), presentation_id(presentation_id) {} |
| 13 | 13 |
| 14 PresentationSessionInfo::~PresentationSessionInfo() { | 14 PresentationSessionInfo::~PresentationSessionInfo() { |
| 15 } | 15 } |
| 16 | 16 |
| 17 PresentationError::PresentationError( | 17 PresentationError::PresentationError( |
| 18 PresentationErrorType error_type, | 18 PresentationErrorType error_type, |
| 19 const std::string& message) | 19 const std::string& message) |
| 20 : error_type(error_type), | 20 : error_type(error_type), |
| 21 message(message) { | 21 message(message) { |
| 22 } | 22 } |
| 23 | 23 |
| 24 PresentationError::~PresentationError() { | 24 PresentationError::~PresentationError() { |
| 25 } | 25 } |
| 26 | 26 |
| 27 } // namespace content | 27 } // namespace content |
| 28 | 28 |
| OLD | NEW |