| Index: components/arc/print/arc_print_bridge.h
|
| diff --git a/components/arc/print/arc_print_bridge.h b/components/arc/print/arc_print_bridge.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..997d1d89cb984804bb21a8ebf7adb50881084e3a
|
| --- /dev/null
|
| +++ b/components/arc/print/arc_print_bridge.h
|
| @@ -0,0 +1,35 @@
|
| +// Copyright 2016 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 COMPONENTS_ARC_PRINT_ARC_PRINT_BRIDGE_H_
|
| +#define COMPONENTS_ARC_PRINT_ARC_PRINT_BRIDGE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "components/arc/arc_bridge_service.h"
|
| +#include "components/arc/arc_service.h"
|
| +#include "mojo/public/cpp/bindings/binding.h"
|
| +
|
| +namespace arc {
|
| +
|
| +class ArcPrintBridge : public ArcService,
|
| + public ArcBridgeService::Observer,
|
| + public mojom::PrintHost {
|
| + public:
|
| + explicit ArcPrintBridge(ArcBridgeService* bridge_service);
|
| + ~ArcPrintBridge() override;
|
| +
|
| + // ArcBridgeService::Observer overrides.
|
| + void OnPrintInstanceReady() override;
|
| +
|
| + void Print(mojo::ScopedHandle) override;
|
| +
|
| + private:
|
| + mojo::Binding<mojom::PrintHost> binding_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(ArcPrintBridge);
|
| +};
|
| +
|
| +} // namespace arc
|
| +
|
| +#endif // COMPONENTS_ARC_PRINT_ARC_PRINT_BRIDGE_H_
|
|
|