| Index: content/renderer/presentation/presentation_session_dispatcher.cc
|
| diff --git a/content/renderer/presentation/presentation_session_dispatcher.cc b/content/renderer/presentation/presentation_session_dispatcher.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..16de5ed2b43bff611bee9f6a7e396e6a8454d6ee
|
| --- /dev/null
|
| +++ b/content/renderer/presentation/presentation_session_dispatcher.cc
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "content/renderer/presentation/presentation_session_dispatcher.h"
|
| +
|
| +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
|
|
|