OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |
| 6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |
| 7 |
| 8 #include "base/compiler_specific.h" |
| 9 #include "content/common/content_export.h" |
| 10 #include "content/common/presentation/presentation_service.mojom.h" |
| 11 |
| 12 namespace content { |
| 13 |
| 14 // A wrapper around the Mojo PresentationSession remote object. |
| 15 class CONTENT_EXPORT PresentationSessionDispatcher { |
| 16 public: |
| 17 explicit PresentationSessionDispatcher( |
| 18 presentation::PresentationSessionInfoPtr session_info); |
| 19 ~PresentationSessionDispatcher(); |
| 20 |
| 21 const mojo::String& GetUrl() const; |
| 22 const mojo::String& GetId() const; |
| 23 |
| 24 private: |
| 25 presentation::PresentationSessionInfoPtr session_info_; |
| 26 }; |
| 27 |
| 28 } // namespace content |
| 29 |
| 30 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |
OLD | NEW |