Lines Matching refs:network
5 #include "ash/system/chromeos/network/network_state_notifier.h"
8 #include "ash/system/chromeos/network/network_connect.h"
14 #include "chromeos/network/network_configuration_handler.h"
15 #include "chromeos/network/network_connection_handler.h"
16 #include "chromeos/network/network_event_log.h"
17 #include "chromeos/network/network_state.h"
18 #include "chromeos/network/network_state_handler.h"
19 #include "chromeos/network/shill_property_util.h"
109 void NetworkStateNotifier::DefaultNetworkChanged(const NetworkState* network) {
110 if (!UpdateDefaultNetwork(network))
112 // If the default network changes to another network, allow the out of
115 if (network)
120 const NetworkState* network) {
121 if (network->type() != shill::kTypeCellular)
123 UpdateCellularOutOfCredits(network);
124 UpdateCellularActivating(network);
127 bool NetworkStateNotifier::UpdateDefaultNetwork(const NetworkState* network) {
129 if (network)
130 default_network_path = network->path();
141 // shown a notification (or have since connected to another network type).
146 // connect to another network.
174 // Keep track of any activating cellular network.
180 // Only display a notification if this network was activating and is now
214 // Get the up-to-date properties for the network and display the error.
267 const NetworkState* network =
270 if (network) {
275 NET_LOG_DEBUG("Notify Network.last_error: " + network->last_error(),
278 shill_error = network->last_error();