Chromium Code Reviews| Index: content/renderer/presentation/presentation_session_dispatcher.h |
| diff --git a/content/renderer/presentation/presentation_session_dispatcher.h b/content/renderer/presentation/presentation_session_dispatcher.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f20ad7aa4f16f0d5390e4aa4a03a6bb44f4f3077 |
| --- /dev/null |
| +++ b/content/renderer/presentation/presentation_session_dispatcher.h |
| @@ -0,0 +1,30 @@ |
| +// 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. |
| + |
| +#ifndef CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |
| +#define CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "content/common/content_export.h" |
| +#include "content/common/presentation/presentation_service.mojom.h" |
| + |
| +namespace content { |
| + |
| +// A wrapper around the Mojo PresentationSession remote object. |
| +class CONTENT_EXPORT PresentationSessionDispatcher { |
| + public: |
| + explicit PresentationSessionDispatcher( |
| + presentation::PresentationSessionInfoPtr session_info); |
| + ~PresentationSessionDispatcher(); |
| + |
| + const mojo::String& getUrl() const; |
| + const mojo::String& getId() const; |
|
mlamouri (slow - plz ping)
2015/02/27 18:41:51
style: GetURL() and GetID() (or GetId())
whywhat
2015/02/27 19:15:53
Done.
|
| + |
| + private: |
| + presentation::PresentationSessionInfoPtr session_info_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_RENDERER_PRESENTATION_PRESENTATION_SESSION_DISPATCHER_H_ |