blob: 8bc8dd6e3cae19446b8e1e6e3f3a24d4a3beea56 [file] [log] [blame]
// 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 GARNET_BIN_NETWORK_NETWORK_SERVICE_DELEGATE_H_
#define GARNET_BIN_NETWORK_NETWORK_SERVICE_DELEGATE_H_
#include <memory>
#include "lib/app/cpp/application_context.h"
#include "garnet/bin/network/network_service_impl.h"
namespace network {
class NetworkServiceDelegate {
public:
NetworkServiceDelegate(async_t* dispatcher);
~NetworkServiceDelegate();
private:
std::unique_ptr<component::ApplicationContext> context_;
network::NetworkServiceImpl network_provider_;
FXL_DISALLOW_COPY_AND_ASSIGN(NetworkServiceDelegate);
};
} // namespace network
#endif // GARNET_BIN_NETWORK_NETWORK_SERVICE_DELEGATE_H_