| // Copyright 2019 The Fuchsia 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 SRC_DEVELOPER_FORENSICS_TESTING_STUBS_NETWORK_REACHABILITY_PROVIDER_H_ |
| #define SRC_DEVELOPER_FORENSICS_TESTING_STUBS_NETWORK_REACHABILITY_PROVIDER_H_ |
| |
| #include <fuchsia/netstack/cpp/fidl.h> |
| #include <fuchsia/netstack/cpp/fidl_test_base.h> |
| |
| #include "src/developer/forensics/testing/stubs/fidl_server.h" |
| |
| namespace forensics { |
| namespace stubs { |
| |
| class NetworkReachabilityProvider |
| : public SINGLE_BINDING_STUB_FIDL_SERVER(fuchsia::netstack, Netstack) { |
| public: |
| void TriggerOnNetworkReachable(bool reachable); |
| }; |
| |
| } // namespace stubs |
| } // namespace forensics |
| |
| #endif // SRC_DEVELOPER_FORENSICS_TESTING_STUBS_NETWORK_REACHABILITY_PROVIDER_H_ |