// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_DOWNLOAD_NETWORK_NETWORK_STATUS_LISTENER_H_ #define COMPONENTS_DOWNLOAD_NETWORK_NETWORK_STATUS_LISTENER_H_ #include "base/memory/raw_ptr.h" #include "services/network/public/mojom/network_change_manager.mojom.h" namespace download { // Monitor and propagate network status change events. // Base class only manages the observer pointer, derived class should override // to provide actual network hook to monitor the changes, and call base class // virtual functions. class NetworkStatusListener { … }; } // namespace download #endif // COMPONENTS_DOWNLOAD_NETWORK_NETWORK_STATUS_LISTENER_H_