| Index: content/public/common/presentation_session.h
|
| diff --git a/content/public/common/presentation_session.h b/content/public/common/presentation_session.h
|
| index 87bafb4b140cc45bf33603184280263f287c86db..e7a2bf3efa07b39e68e394bc64719f6617b64c25 100644
|
| --- a/content/public/common/presentation_session.h
|
| +++ b/content/public/common/presentation_session.h
|
| @@ -31,12 +31,13 @@ enum PresentationConnectionCloseReason {
|
| // Represents a presentation session that has been established via either
|
| // browser actions or Presentation API.
|
| struct CONTENT_EXPORT PresentationSessionInfo {
|
| + PresentationSessionInfo() = default;
|
| PresentationSessionInfo(const GURL& presentation_url,
|
| const std::string& presentation_id);
|
| ~PresentationSessionInfo();
|
|
|
| - const GURL presentation_url;
|
| - const std::string presentation_id;
|
| + GURL presentation_url;
|
| + std::string presentation_id;
|
| };
|
|
|
| // Possible reasons why an attempt to create a presentation session failed.
|
| @@ -49,12 +50,13 @@ enum PresentationErrorType {
|
|
|
| // Struct returned when an attempt to create a presentation session failed.
|
| struct CONTENT_EXPORT PresentationError {
|
| + PresentationError() = default;
|
| PresentationError(PresentationErrorType error_type,
|
| const std::string& message);
|
| ~PresentationError();
|
|
|
| - const PresentationErrorType error_type;
|
| - const std::string message;
|
| + PresentationErrorType error_type;
|
| + std::string message;
|
| };
|
|
|
| } // namespace content
|
|
|