| // 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 SERVICES_REAPER_TRANSFER_BINDING_H_ |
| #define SERVICES_REAPER_TRANSFER_BINDING_H_ |
| #include "base/basictypes.h" |
| #include "mojo/public/cpp/bindings/interface_request.h" |
| #include "mojo/public/cpp/bindings/strong_binding.h" |
| #include "services/reaper/reaper.mojom.h" |
| #include "services/reaper/transfer.mojom.h" |
| class TransferBinding : public Transfer { |
| TransferBinding(uint32 node_id, |
| mojo::InterfaceRequest<Transfer> request); |
| ~TransferBinding() override; |
| void Complete(uint64 app_secret, uint32 node_id) override; |
| void Ping(const mojo::Closure& callback) override; |
| mojo::StrongBinding<Transfer> binding_; |
| #endif // SERVICES_REAPER_TRANSFER_BINDING_H_ |