[Ozone-Gbm] Explicitly crash if trying software rendering on GBM
[chromium-blink-merge.git] / content / renderer / presentation / presentation_session_dispatcher.h
blob0a89c565f12c4f52f5e9bb19ab8fc54a3f90140f
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.
5 #ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_
6 #define CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_
8 #include "base/compiler_specific.h"
9 #include "content/common/content_export.h"
10 #include "content/common/presentation/presentation_service.mojom.h"
12 namespace content {
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();
21 const mojo::String& GetUrl() const;
22 const mojo::String& GetId() const;
24 private:
25 presentation::PresentationSessionInfoPtr session_info_;
28 } // namespace content
30 #endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_