| Index: content/browser/presentation/presentation_service_impl.h
|
| diff --git a/content/browser/presentation/presentation_service_impl.h b/content/browser/presentation/presentation_service_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a4a9b6a57db40d1a659af1554b0137c11cf61f0
|
| --- /dev/null
|
| +++ b/content/browser/presentation/presentation_service_impl.h
|
| @@ -0,0 +1,37 @@
|
| +// 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_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
|
| +#define CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "content/common/presentation/presentation_service.mojom.h"
|
| +#include "mojo/public/cpp/bindings/interface_request.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Implements the PresentationService Mojo interface.
|
| +// This service can be created from a RenderFrameHost.
|
| +class PresentationServiceImpl :
|
| + public mojo::InterfaceImpl<presentation::PresentationService> {
|
| + public:
|
| + ~PresentationServiceImpl() override;
|
| +
|
| + static void CreateService(
|
| + mojo::InterfaceRequest<presentation::PresentationService> request);
|
| +
|
| + protected:
|
| + PresentationServiceImpl();
|
| +
|
| + private:
|
| + // PresentationService implementation.
|
| + void SetClient(presentation::PresentationServiceClientPtr client) override;
|
| + void UpdateAvailableChangeWatched(bool watched) override;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PresentationServiceImpl);
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_PRESENTATION_PRESENTATION_SERVICE_IMPL_H_
|
|
|