network 70 ash/system/chromeos/network/network_connect.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 72 ash/system/chromeos/network/network_connect.cc if (!network) { network 77 ash/system/chromeos/network/network_connect.cc if (network->type() == shill::kTypeWifi) { network 79 ash/system/chromeos/network/network_connect.cc if (network->security() != shill::kSecurityNone) { network 86 ash/system/chromeos/network/network_connect.cc if (network->type() == shill::kTypeWimax || network 87 ash/system/chromeos/network/network_connect.cc network->type() == shill::kTypeVPN) { network 93 ash/system/chromeos/network/network_connect.cc if (network->type() == shill::kTypeCellular) { network 94 ash/system/chromeos/network/network_connect.cc if (network->RequiresActivation()) { network 98 ash/system/chromeos/network/network_connect.cc if (network->cellular_out_of_credits()) { network 343 ash/system/chromeos/network/network_connect.cc const NetworkState* network = GetNetworkState(service_path); network 344 ash/system/chromeos/network/network_connect.cc if (network && !network->error().empty() && !network->security().empty()) { network 345 ash/system/chromeos/network/network_connect.cc NET_LOG_USER("Configure: " + network->error(), service_path); network 546 ash/system/chromeos/network/network_connect.cc const NetworkState* network = GetNetworkState(service_path); network 550 ash/system/chromeos/network/network_connect.cc if (network && network->eap_method() == shill::kEapMethodTLS) { network 42 ash/system/chromeos/network/network_detailed_view.h virtual void NetworkServiceChanged(const chromeos::NetworkState* network) = 0; network 63 ash/system/chromeos/network/network_icon.cc void Update(const chromeos::NetworkState* network); network 69 ash/system/chromeos/network/network_icon.cc bool UpdateWirelessStrengthIndex(const chromeos::NetworkState* network); network 72 ash/system/chromeos/network/network_icon.cc bool UpdateCellularState(const chromeos::NetworkState* network); network 75 ash/system/chromeos/network/network_icon.cc bool UpdatePortalState(const chromeos::NetworkState* network); network 81 ash/system/chromeos/network/network_icon.cc void GetBadges(const NetworkState* network, Badges* badges); network 84 ash/system/chromeos/network/network_icon.cc void GenerateImage(const chromeos::NetworkState* network); network 405 ash/system/chromeos/network/network_icon.cc int GetStrengthIndex(const NetworkState* network) { network 406 ash/system/chromeos/network/network_icon.cc ImageType image_type = ImageTypeForNetworkType(network->type()); network 408 ash/system/chromeos/network/network_icon.cc return StrengthIndex(network->signal_strength(), kNumArcsImages); network 410 ash/system/chromeos/network/network_icon.cc return StrengthIndex(network->signal_strength(), kNumBarsImages); network 414 ash/system/chromeos/network/network_icon.cc const gfx::ImageSkia* BadgeForNetworkTechnology(const NetworkState* network, network 418 ash/system/chromeos/network/network_icon.cc const std::string& technology = network->network_technology(); network 469 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetIcon(const NetworkState* network, network 473 ash/system/chromeos/network/network_icon.cc if (network->Matches(NetworkTypePattern::Ethernet())) { network 475 ash/system/chromeos/network/network_icon.cc } else if (network->Matches(NetworkTypePattern::Wireless())) { network 478 ash/system/chromeos/network/network_icon.cc ImageTypeForNetworkType(network->type()), icon_type, strength_index); network 479 ash/system/chromeos/network/network_icon.cc } else if (network->Matches(NetworkTypePattern::VPN())) { network 483 ash/system/chromeos/network/network_icon.cc << network->type(); network 542 ash/system/chromeos/network/network_icon.cc void NetworkIconImpl::Update(const NetworkState* network) { network 543 ash/system/chromeos/network/network_icon.cc DCHECK(network); network 548 ash/system/chromeos/network/network_icon.cc if (state_ != network->connection_state()) { network 549 ash/system/chromeos/network/network_icon.cc state_ = network->connection_state(); network 553 ash/system/chromeos/network/network_icon.cc dirty |= UpdatePortalState(network); network 555 ash/system/chromeos/network/network_icon.cc if (network->Matches(NetworkTypePattern::Wireless())) { network 556 ash/system/chromeos/network/network_icon.cc dirty |= UpdateWirelessStrengthIndex(network); network 559 ash/system/chromeos/network/network_icon.cc if (network->Matches(NetworkTypePattern::Cellular())) network 560 ash/system/chromeos/network/network_icon.cc dirty |= UpdateCellularState(network); network 563 ash/system/chromeos/network/network_icon.cc network->Matches(NetworkTypePattern::NonVirtual())) { network 569 ash/system/chromeos/network/network_icon.cc GenerateImage(network); network 573 ash/system/chromeos/network/network_icon.cc bool NetworkIconImpl::UpdateWirelessStrengthIndex(const NetworkState* network) { network 574 ash/system/chromeos/network/network_icon.cc int index = GetStrengthIndex(network); network 582 ash/system/chromeos/network/network_icon.cc bool NetworkIconImpl::UpdateCellularState(const NetworkState* network) { network 585 ash/system/chromeos/network/network_icon.cc BadgeForNetworkTechnology(network, icon_type_); network 590 ash/system/chromeos/network/network_icon.cc std::string roaming_state = network->roaming(); network 598 ash/system/chromeos/network/network_icon.cc bool NetworkIconImpl::UpdatePortalState(const NetworkState* network) { network 600 ash/system/chromeos/network/network_icon.cc if (network) { network 603 ash/system/chromeos/network/network_icon.cc delegate->IsNetworkBehindCaptivePortal(network->path()); network 625 ash/system/chromeos/network/network_icon.cc void NetworkIconImpl::GetBadges(const NetworkState* network, Badges* badges) { network 626 ash/system/chromeos/network/network_icon.cc DCHECK(network); network 630 ash/system/chromeos/network/network_icon.cc const std::string& type = network->type(); network 632 ash/system/chromeos/network/network_icon.cc if (network->security() != shill::kSecurityNone && network 643 ash/system/chromeos/network/network_icon.cc if (network->roaming() == shill::kRoamingStateRoaming) { network 646 ash/system/chromeos/network/network_icon.cc handler->GetDeviceState(network->device_path()); network 648 ash/system/chromeos/network/network_icon.cc << network->device_path(); network 657 ash/system/chromeos/network/network_icon.cc if (!network->IsConnectingState()) { network 671 ash/system/chromeos/network/network_icon.cc void NetworkIconImpl::GenerateImage(const NetworkState* network) { network 672 ash/system/chromeos/network/network_icon.cc DCHECK(network); network 673 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia icon = GetIcon(network, icon_type_, strength_index_); network 675 ash/system/chromeos/network/network_icon.cc GetBadges(network, &badges); network 683 ash/system/chromeos/network/network_icon.cc gfx::ImageSkia GetImageForNetwork(const NetworkState* network, network 685 ash/system/chromeos/network/network_icon.cc DCHECK(network); network 687 ash/system/chromeos/network/network_icon.cc if (network->IsConnectingState()) network 688 ash/system/chromeos/network/network_icon.cc return GetConnectingImage(network->type(), icon_type); network 693 ash/system/chromeos/network/network_icon.cc NetworkIconMap::iterator iter = icon_map->find(network->path()); network 696 ash/system/chromeos/network/network_icon.cc icon_map->insert(std::make_pair(network->path(), icon)); network 702 ash/system/chromeos/network/network_icon.cc icon->Update(network); network 721 ash/system/chromeos/network/network_icon.cc base::string16 GetLabelForNetwork(const chromeos::NetworkState* network, network 723 ash/system/chromeos/network/network_icon.cc DCHECK(network); network 724 ash/system/chromeos/network/network_icon.cc std::string activation_state = network->activation_state(); network 727 ash/system/chromeos/network/network_icon.cc if (network->IsConnectingState()) { network 730 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 735 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 742 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 746 ash/system/chromeos/network/network_icon.cc if (network->IsConnectedState()) { network 748 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 750 ash/system/chromeos/network/network_icon.cc if (network->IsConnectingState()) { network 752 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 756 ash/system/chromeos/network/network_icon.cc base::UTF8ToUTF16(network->name())); network 761 ash/system/chromeos/network/network_icon.cc if (network->Matches(NetworkTypePattern::Ethernet())) { network 764 ash/system/chromeos/network/network_icon.cc return base::UTF8ToUTF16(network->name()); network 810 ash/system/chromeos/network/network_icon.cc const NetworkState* network; network 817 ash/system/chromeos/network/network_icon.cc network = connecting_network; network 819 ash/system/chromeos/network/network_icon.cc network = connected_network; network 823 ash/system/chromeos/network/network_icon.cc if (icon_type == ICON_TYPE_TRAY && network && network 824 ash/system/chromeos/network/network_icon.cc network->Matches(NetworkTypePattern::Ethernet())) { network 830 ash/system/chromeos/network/network_icon.cc if (!network) { network 836 ash/system/chromeos/network/network_icon.cc network = mobile_network; network 839 ash/system/chromeos/network/network_icon.cc if (!network) { network 858 ash/system/chromeos/network/network_icon.cc *animating = network->IsConnectingState(); network 860 ash/system/chromeos/network/network_icon.cc *image = GetImageForNetwork(network, icon_type); network 862 ash/system/chromeos/network/network_icon.cc *label = GetLabelForNetwork(network, icon_type); network 34 ash/system/chromeos/network/network_icon.h const chromeos::NetworkState* network, network 54 ash/system/chromeos/network/network_icon.h const chromeos::NetworkState* network, network 195 ash/system/chromeos/network/network_state_list_detailed_view.cc const NetworkState* network) { network 307 ash/system/chromeos/network/network_state_list_detailed_view.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 309 ash/system/chromeos/network/network_state_list_detailed_view.cc if (!network || network->IsConnectedState() || network->IsConnectingState()) { network 467 ash/system/chromeos/network/network_state_list_detailed_view.cc const NetworkState* network = *iter; network 469 ash/system/chromeos/network/network_state_list_detailed_view.cc network->type() != shill::kTypeVPN) || network 471 ash/system/chromeos/network/network_state_list_detailed_view.cc network->type() == shill::kTypeVPN)) { network 472 ash/system/chromeos/network/network_state_list_detailed_view.cc NetworkInfo* info = new NetworkInfo(network->path()); network 485 ash/system/chromeos/network/network_state_list_detailed_view.cc const NetworkState* network = network 487 ash/system/chromeos/network/network_state_list_detailed_view.cc if (!network) network 490 ash/system/chromeos/network/network_state_list_detailed_view.cc network, network_icon::ICON_TYPE_LIST); network 492 ash/system/chromeos/network/network_state_list_detailed_view.cc network, network_icon::ICON_TYPE_LIST); network 494 ash/system/chromeos/network/network_state_list_detailed_view.cc network->IsConnectedState() || network->IsConnectingState(); network 496 ash/system/chromeos/network/network_state_list_detailed_view.cc network->activation_state() == shill::kActivationStateActivating; network 497 ash/system/chromeos/network/network_state_list_detailed_view.cc if (!animating && network->IsConnectingState()) network 784 ash/system/chromeos/network/network_state_list_detailed_view.cc const NetworkState* network = handler->DefaultNetwork(); network 785 ash/system/chromeos/network/network_state_list_detailed_view.cc if (network) network 786 ash/system/chromeos/network/network_state_list_detailed_view.cc ip_address = network->ip_address(); network 61 ash/system/chromeos/network/network_state_list_detailed_view.h const chromeos::NetworkState* network) OVERRIDE; network 108 ash/system/chromeos/network/network_state_notifier.cc void NetworkStateNotifier::DefaultNetworkChanged(const NetworkState* network) { network 109 ash/system/chromeos/network/network_state_notifier.cc if (!UpdateDefaultNetwork(network)) network 114 ash/system/chromeos/network/network_state_notifier.cc if (network) network 119 ash/system/chromeos/network/network_state_notifier.cc const NetworkState* network) { network 120 ash/system/chromeos/network/network_state_notifier.cc if (network->type() != shill::kTypeCellular) network 122 ash/system/chromeos/network/network_state_notifier.cc UpdateCellularOutOfCredits(network); network 123 ash/system/chromeos/network/network_state_notifier.cc UpdateCellularActivating(network); network 126 ash/system/chromeos/network/network_state_notifier.cc bool NetworkStateNotifier::UpdateDefaultNetwork(const NetworkState* network) { network 128 ash/system/chromeos/network/network_state_notifier.cc if (network) network 129 ash/system/chromeos/network/network_state_notifier.cc default_network_path = network->path(); network 266 ash/system/chromeos/network/network_state_notifier.cc const NetworkState* network = network 269 ash/system/chromeos/network/network_state_notifier.cc if (network) { network 274 ash/system/chromeos/network/network_state_notifier.cc NET_LOG_DEBUG("Notify Network.last_error: " + network->last_error(), network 277 ash/system/chromeos/network/network_state_notifier.cc shill_error = network->last_error(); network 43 ash/system/chromeos/network/network_state_notifier.h const chromeos::NetworkState* network) OVERRIDE; network 45 ash/system/chromeos/network/network_state_notifier.h const chromeos::NetworkState* network) OVERRIDE; network 70 ash/system/chromeos/network/network_state_notifier.h bool UpdateDefaultNetwork(const chromeos::NetworkState* network); network 220 ash/system/chromeos/network/tray_network.cc const chromeos::NetworkState* network) OVERRIDE { network 370 ash/system/chromeos/network/tray_network.cc void TrayNetwork::NetworkServiceChanged(const chromeos::NetworkState* network) { network 372 ash/system/chromeos/network/tray_network.cc detailed_->NetworkServiceChanged(network); network 60 ash/system/chromeos/network/tray_network.h const chromeos::NetworkState* network) OVERRIDE; network 45 ash/system/chromeos/network/tray_network_state_observer.cc const chromeos::NetworkState* network) { network 50 ash/system/chromeos/network/tray_network_state_observer.cc const chromeos::NetworkState* network) { network 51 ash/system/chromeos/network/tray_network_state_observer.cc if (network == network 54 ash/system/chromeos/network/tray_network_state_observer.cc delegate_->NetworkServiceChanged(network); network 25 ash/system/chromeos/network/tray_network_state_observer.h const chromeos::NetworkState* network) = 0; network 39 ash/system/chromeos/network/tray_network_state_observer.h const chromeos::NetworkState* network) OVERRIDE; network 41 ash/system/chromeos/network/tray_network_state_observer.h const chromeos::NetworkState* network) OVERRIDE; network 172 ash/system/chromeos/network/tray_vpn.cc void TrayVPN::NetworkServiceChanged(const chromeos::NetworkState* network) { network 174 ash/system/chromeos/network/tray_vpn.cc detailed_->NetworkServiceChanged(network); network 41 ash/system/chromeos/network/tray_vpn.h const chromeos::NetworkState* network) OVERRIDE; network 264 chrome/browser/chromeos/enrollment_dialog_view.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 266 chrome/browser/chromeos/enrollment_dialog_view.cc if (!network) { network 273 chrome/browser/chromeos/enrollment_dialog_view.cc if (network->ui_data().onc_source() == onc::ONC_SOURCE_DEVICE_POLICY) network 277 chrome/browser/chromeos/enrollment_dialog_view.cc network->ui_data().certificate_pattern(); network 289 chrome/browser/chromeos/enrollment_dialog_view.cc new DialogEnrollmentDelegate(owning_window, network->name(), profile); network 538 chrome/browser/chromeos/extensions/file_manager/event_router.cc void EventRouter::DefaultNetworkChanged(const chromeos::NetworkState* network) { network 98 chrome/browser/chromeos/extensions/file_manager/event_router.h const chromeos::NetworkState* network) OVERRIDE; network 495 chrome/browser/chromeos/imageburner/burn_manager.cc void BurnManager::DefaultNetworkChanged(const NetworkState* network) { network 497 chrome/browser/chromeos/imageburner/burn_manager.cc if (state_machine_->state() == StateMachine::INITIAL && network) network 500 chrome/browser/chromeos/imageburner/burn_manager.cc if (state_machine_->state() == StateMachine::DOWNLOADING && !network) network 320 chrome/browser/chromeos/imageburner/burn_manager.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 64 chrome/browser/chromeos/login/auth_prewarmer.cc void AuthPrewarmer::DefaultNetworkChanged(const NetworkState* network) { network 65 chrome/browser/chromeos/login/auth_prewarmer.cc if (!network) network 33 chrome/browser/chromeos/login/auth_prewarmer.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 159 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc const NetworkState* network = network 165 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.cc network ? network->name() : std::string()); network 36 chrome/browser/chromeos/login/enrollment/auto_enrollment_check_step.h const NetworkState* network, network 50 chrome/browser/chromeos/login/helper.cc const NetworkState* network = network 52 chrome/browser/chromeos/login/helper.cc if (network) { network 53 chrome/browser/chromeos/login/helper.cc if (network->Matches(NetworkTypePattern::Ethernet())) network 55 chrome/browser/chromeos/login/helper.cc return base::UTF8ToUTF16(network->name()); network 58 chrome/browser/chromeos/login/helper.cc network = nsh->ConnectingNetworkByType(NetworkTypePattern::NonVirtual()); network 59 chrome/browser/chromeos/login/helper.cc if (network) { network 60 chrome/browser/chromeos/login/helper.cc if (network->Matches(NetworkTypePattern::Ethernet())) network 62 chrome/browser/chromeos/login/helper.cc return base::UTF8ToUTF16(network->name()); network 56 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const NetworkState* network, network 69 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc network ? network->name() : std::string()); network 136 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc const NetworkState* network, network 143 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.cc ConfigureErrorScreen(screen, network, state.status); network 100 chrome/browser/chromeos/login/managed/locally_managed_user_creation_screen.h const NetworkState* network, network 55 chrome/browser/chromeos/login/proxy_settings_dialog.cc const NetworkState& network, network 62 chrome/browser/chromeos/login/proxy_settings_dialog.cc GetURLForProxySettings(network.path()), network 75 chrome/browser/chromeos/login/proxy_settings_dialog.cc std::string network_name = network.name(); network 76 chrome/browser/chromeos/login/proxy_settings_dialog.cc if (network_name.empty() && network.Matches(NetworkTypePattern::Ethernet())) { network 24 chrome/browser/chromeos/login/proxy_settings_dialog.h const NetworkState& network, network 141 chrome/browser/chromeos/login/screens/error_screen.cc const std::string& network) { network 143 chrome/browser/chromeos/login/screens/error_screen.cc actor_->SetErrorState(error_state, network); network 97 chrome/browser/chromeos/login/screens/error_screen.h void SetErrorState(ErrorState error_state, const std::string& network); network 70 chrome/browser/chromeos/login/screens/error_screen_actor.h const std::string& network) = 0; network 34 chrome/browser/chromeos/login/screens/mock_error_screen.h const std::string& network)); network 81 chrome/browser/chromeos/login/screens/network_screen.cc void NetworkScreen::NetworkConnectionStateChanged(const NetworkState* network) { network 85 chrome/browser/chromeos/login/screens/network_screen.cc void NetworkScreen::DefaultNetworkChanged(const NetworkState* network) { network 37 chrome/browser/chromeos/login/screens/network_screen.h const NetworkState* network) OVERRIDE; network 38 chrome/browser/chromeos/login/screens/network_screen.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 227 chrome/browser/chromeos/login/screens/update_screen.cc const NetworkState* network, network 230 chrome/browser/chromeos/login/screens/update_screen.cc << "network=" << (network ? network->path() : "") << ", " network 235 chrome/browser/chromeos/login/screens/update_screen.cc if (network && network 241 chrome/browser/chromeos/login/screens/update_screen.cc if ((!network || network 261 chrome/browser/chromeos/login/screens/update_screen.cc UpdateErrorMessage(network, status); network 268 chrome/browser/chromeos/login/screens/update_screen.cc UpdateErrorMessage(network, status); network 493 chrome/browser/chromeos/login/screens/update_screen.cc const NetworkState* network, network 505 chrome/browser/chromeos/login/screens/update_screen.cc DCHECK(network); network 507 chrome/browser/chromeos/login/screens/update_screen.cc network->name()); network 77 chrome/browser/chromeos/login/screens/update_screen.h const NetworkState* network, network 113 chrome/browser/chromeos/login/screens/update_screen.h const NetworkState* network, network 273 chrome/browser/chromeos/login/webui_login_view.cc const NetworkState* network = network 275 chrome/browser/chromeos/login/webui_login_view.cc if (!network) { network 281 chrome/browser/chromeos/login/webui_login_view.cc *network, NULL, GetNativeWindow()); network 203 chrome/browser/chromeos/mobile/mobile_activator.cc void MobileActivator::DefaultNetworkChanged(const NetworkState* network) { network 207 chrome/browser/chromeos/mobile/mobile_activator.cc void MobileActivator::NetworkPropertiesUpdated(const NetworkState* network) { network 211 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network || network->type() != shill::kTypeCellular) network 215 chrome/browser/chromeos/mobile/mobile_activator.cc GetDeviceState(network->device_path()); network 217 chrome/browser/chromeos/mobile/mobile_activator.cc LOG(ERROR) << "Cellular device can't be found: " << network->device_path(); network 220 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->device_path() != device_path_) { network 222 chrome/browser/chromeos/mobile/mobile_activator.cc << network->path() network 223 chrome/browser/chromeos/mobile/mobile_activator.cc << " on unknown device " << network->device_path() network 230 chrome/browser/chromeos/mobile/mobile_activator.cc service_path_ = network->path(); network 232 chrome/browser/chromeos/mobile/mobile_activator.cc EvaluateCellularNetwork(network); network 247 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path); network 248 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 254 chrome/browser/chromeos/mobile/mobile_activator.cc GetDeviceState(network->device_path()); network 256 chrome/browser/chromeos/mobile/mobile_activator.cc LOG(ERROR) << "Cellular device can't be found: " << network->device_path(); network 264 chrome/browser/chromeos/mobile/mobile_activator.cc device_path_ = network->device_path(); network 266 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, PLAN_ACTIVATION_PAGE_LOADING, ""); network 338 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 339 chrome/browser/chromeos/mobile/mobile_activator.cc if (network && network->activate_over_non_cellular_networks()) { network 342 chrome/browser/chromeos/mobile/mobile_activator.cc CompleteActivation(network->path(), network 360 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 361 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 370 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, PLAN_ACTIVATION_SHOWING_PAYMENT, std::string()); network 374 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->activate_over_non_cellular_networks()) network 385 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 405 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 407 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 425 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->activate_over_non_cellular_networks()) { network 429 chrome/browser/chromeos/mobile/mobile_activator.cc network, network 430 chrome/browser/chromeos/mobile/mobile_activator.cc (network->activation_state() == shill::kActivationStateActivated) ? network 441 chrome/browser/chromeos/mobile/mobile_activator.cc (network->activation_state() == network 449 chrome/browser/chromeos/mobile/mobile_activator.cc EvaluateCellularNetwork(network); network 458 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 459 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, PLAN_ACTIVATION_START_OTASP, std::string()); network 460 chrome/browser/chromeos/mobile/mobile_activator.cc EvaluateCellularNetwork(network); network 465 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 471 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 479 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 488 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 497 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 502 chrome/browser/chromeos/mobile/mobile_activator.cc void MobileActivator::ForceReconnect(const NetworkState* network, network 504 chrome/browser/chromeos/mobile/mobile_activator.cc DCHECK(network); network 509 chrome/browser/chromeos/mobile/mobile_activator.cc VLOG(1) << "Disconnecting from " << network->path(); network 514 chrome/browser/chromeos/mobile/mobile_activator.cc network->path(), network 533 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 534 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 540 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 541 chrome/browser/chromeos/mobile/mobile_activator.cc if (network && network->IsConnectedState()) { network 542 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->connection_state() == shill::kStatePortal && network 543 chrome/browser/chromeos/mobile/mobile_activator.cc network->error() == shill::kErrorDNSLookupFailed) { network 548 chrome/browser/chromeos/mobile/mobile_activator.cc network->path(), network 555 chrome/browser/chromeos/mobile/mobile_activator.cc EvaluateCellularNetwork(network); network 558 chrome/browser/chromeos/mobile/mobile_activator.cc if (network) { network 559 chrome/browser/chromeos/mobile/mobile_activator.cc VLOG(1) << "Connecting to: " << network->path(); network 561 chrome/browser/chromeos/mobile/mobile_activator.cc network->path(), NULL /* no parent window */); network 574 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path_); network 575 chrome/browser/chromeos/mobile/mobile_activator.cc if (network && network->activate_over_non_cellular_networks()) { network 580 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, post_reconnect_state_, ""); network 582 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, PLAN_ACTIVATION_WAITING_FOR_CONNECTION, ""); network 586 chrome/browser/chromeos/mobile/mobile_activator.cc EvaluateCellularNetwork(network); network 595 chrome/browser/chromeos/mobile/mobile_activator.cc void MobileActivator::EvaluateCellularNetwork(const NetworkState* network) { network 602 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 607 chrome/browser/chromeos/mobile/mobile_activator.cc LOG(WARNING) << "Cellular:\n service state=" << network->connection_state() network 609 chrome/browser/chromeos/mobile/mobile_activator.cc << "\n activation=" << network->activation_state() network 610 chrome/browser/chromeos/mobile/mobile_activator.cc << "\n error=" << network->error() network 611 chrome/browser/chromeos/mobile/mobile_activator.cc << "\n setvice_path=" << network->path() network 612 chrome/browser/chromeos/mobile/mobile_activator.cc << "\n connected=" << network->IsConnectedState(); network 616 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->activate_over_non_cellular_networks()) network 620 chrome/browser/chromeos/mobile/mobile_activator.cc PlanActivationState new_state = PickNextState(network, &error_description); network 622 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, new_state, error_description); network 626 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network, std::string* error_description) const { network 628 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network->IsConnectedState()) network 629 chrome/browser/chromeos/mobile/mobile_activator.cc new_state = PickNextOfflineState(network); network 631 chrome/browser/chromeos/mobile/mobile_activator.cc new_state = PickNextOnlineState(network); network 633 chrome/browser/chromeos/mobile/mobile_activator.cc GotActivationError(network, error_description)) { network 637 chrome/browser/chromeos/mobile/mobile_activator.cc const std::string& activation = network->activation_state(); network 640 chrome/browser/chromeos/mobile/mobile_activator.cc (network->error().empty() || network 641 chrome/browser/chromeos/mobile/mobile_activator.cc network->error() == shill::kErrorOtaspFailed) && network 642 chrome/browser/chromeos/mobile/mobile_activator.cc network->connection_state() == shill::kStateActivationFailure) { network 643 chrome/browser/chromeos/mobile/mobile_activator.cc NET_LOG_EVENT("Activation failure detected ", network->path()); network 665 chrome/browser/chromeos/mobile/mobile_activator.cc LOG(WARNING) << "Unexpected activation failure for " << network->path(); network 676 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network) const { network 678 chrome/browser/chromeos/mobile/mobile_activator.cc const std::string& activation = network->activation_state(); network 682 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network->activate_over_non_cellular_networks()) network 687 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->connection_state() == shill::kStatePortal) network 705 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network) const { network 707 chrome/browser/chromeos/mobile/mobile_activator.cc const std::string& activation = network->activation_state(); network 711 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->connection_state() == shill::kStatePortal) network 728 chrome/browser/chromeos/mobile/mobile_activator.cc << network->path(); network 764 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->connection_state() != shill::kStatePortal && network 850 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network = GetNetworkState(service_path); network 851 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 858 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, PLAN_ACTIVATION_DELAY_OTASP, std::string()); network 860 chrome/browser/chromeos/mobile/mobile_activator.cc ChangeState(network, network 867 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network, network 870 chrome/browser/chromeos/mobile/mobile_activator.cc DCHECK(network); network 871 chrome/browser/chromeos/mobile/mobile_activator.cc NET_LOG_EVENT("Activating cellular service", network->path()); network 875 chrome/browser/chromeos/mobile/mobile_activator.cc Activate(network->path(), network 881 chrome/browser/chromeos/mobile/mobile_activator.cc void MobileActivator::ChangeState(const NetworkState* network, network 888 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network) { network 919 chrome/browser/chromeos/mobile/mobile_activator.cc OnActivationStateChanged(network, state_, error_description)); network 937 chrome/browser/chromeos/mobile/mobile_activator.cc DCHECK(network); network 940 chrome/browser/chromeos/mobile/mobile_activator.cc network->path(), network 943 chrome/browser/chromeos/mobile/mobile_activator.cc network, network 974 chrome/browser/chromeos/mobile/mobile_activator.cc if (!network || !network->IsConnectedState()) { network 989 chrome/browser/chromeos/mobile/mobile_activator.cc if (network) network 990 chrome/browser/chromeos/mobile/mobile_activator.cc ForceReconnect(network, next_state); network 994 chrome/browser/chromeos/mobile/mobile_activator.cc DCHECK(network); network 1037 chrome/browser/chromeos/mobile/mobile_activator.cc const NetworkState* network, std::string* error) const { network 1038 chrome/browser/chromeos/mobile/mobile_activator.cc DCHECK(network); network 1041 chrome/browser/chromeos/mobile/mobile_activator.cc const std::string& activation = network->activation_state(); network 1044 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->connection_state() == shill::kStateFailure && network 1045 chrome/browser/chromeos/mobile/mobile_activator.cc network->error() == shill::kErrorAaaFailed) { network 1049 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->roaming() == shill::kRoamingStateHome) network 1051 chrome/browser/chromeos/mobile/mobile_activator.cc else if (network->roaming() == shill::kRoamingStateRoaming) network 1055 chrome/browser/chromeos/mobile/mobile_activator.cc } else if (network->connection_state() == shill::kStateActivationFailure) { network 1056 chrome/browser/chromeos/mobile/mobile_activator.cc if (network->error() == shill::kErrorNeedEvdo) { network 1059 chrome/browser/chromeos/mobile/mobile_activator.cc } else if (network->error() == shill::kErrorNeedHomeNetwork) { network 101 chrome/browser/chromeos/mobile/mobile_activator.h const NetworkState* network, network 144 chrome/browser/chromeos/mobile/mobile_activator.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 145 chrome/browser/chromeos/mobile/mobile_activator.h virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; network 175 chrome/browser/chromeos/mobile/mobile_activator.h void ForceReconnect(const NetworkState* network, network 189 chrome/browser/chromeos/mobile/mobile_activator.h virtual void EvaluateCellularNetwork(const NetworkState* network); network 192 chrome/browser/chromeos/mobile/mobile_activator.h PlanActivationState PickNextState(const NetworkState* network, network 196 chrome/browser/chromeos/mobile/mobile_activator.h PlanActivationState PickNextOnlineState(const NetworkState* network) const; network 197 chrome/browser/chromeos/mobile/mobile_activator.h PlanActivationState PickNextOfflineState(const NetworkState* network) const; network 199 chrome/browser/chromeos/mobile/mobile_activator.h bool GotActivationError(const NetworkState* network, network 202 chrome/browser/chromeos/mobile/mobile_activator.h void UpdatePage(const NetworkState* network, network 216 chrome/browser/chromeos/mobile/mobile_activator.h const NetworkState* network, network 221 chrome/browser/chromeos/mobile/mobile_activator.h virtual void ChangeState(const NetworkState* network, network 65 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc void InvokeChangeState(const NetworkState* network, network 68 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc MobileActivator::ChangeState(network, new_state, error_description); network 192 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc const NetworkState* network, network 200 chrome/browser/chromeos/mobile/mobile_activator_unittest.cc const NetworkState* network, network 55 chrome/browser/chromeos/net/network_portal_detector.h const NetworkState* network, network 69 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network, network 72 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() == shill::kStateOnline) { network 77 chrome/browser/chromeos/net/network_portal_detector_impl.cc } else if (network->connection_state() == shill::kStatePortal) { network 82 chrome/browser/chromeos/net/network_portal_detector_impl.cc } else if (network->connection_state() == shill::kStateOffline) { network 89 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() == shill::kStateOnline) { network 94 chrome/browser/chromeos/net/network_portal_detector_impl.cc } else if (network->connection_state() == shill::kStatePortal) { network 99 chrome/browser/chromeos/net/network_portal_detector_impl.cc } else if (network->connection_state() == shill::kStateOffline) { network 208 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network = DefaultNetwork(); network 209 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network) network 210 chrome/browser/chromeos/net/network_portal_detector_impl.cc portal_state = GetCaptivePortalState(network->path()); network 211 chrome/browser/chromeos/net/network_portal_detector_impl.cc observer->OnPortalDetectionCompleted(network, portal_state); network 230 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network = DefaultNetwork(); network 231 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (!start_detection || !network) network 233 chrome/browser/chromeos/net/network_portal_detector_impl.cc portal_state_map_.erase(network->path()); network 412 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network = DefaultNetwork(); network 418 chrome/browser/chromeos/net/network_portal_detector_impl.cc network && network->connection_state() == shill::kStatePortal) { network 433 chrome/browser/chromeos/net/network_portal_detector_impl.cc } else if (network && network 434 chrome/browser/chromeos/net/network_portal_detector_impl.cc (network->connection_state() == shill::kStatePortal)) { network 437 chrome/browser/chromeos/net/network_portal_detector_impl.cc LOG(WARNING) << "Network name=" << network->name() << ", " network 438 chrome/browser/chromeos/net/network_portal_detector_impl.cc << "id=" << network->guid() << " " network 457 chrome/browser/chromeos/net/network_portal_detector_impl.cc OnDetectionCompleted(network, state); network 481 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network, network 483 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (!network) { network 484 chrome/browser/chromeos/net/network_portal_detector_impl.cc NotifyDetectionCompleted(network, state); network 489 chrome/browser/chromeos/net/network_portal_detector_impl.cc portal_state_map_.find(network->path()); network 493 chrome/browser/chromeos/net/network_portal_detector_impl.cc << "name=" << network->name() << ", " network 494 chrome/browser/chromeos/net/network_portal_detector_impl.cc << "id=" << network->guid() << ", " network 501 chrome/browser/chromeos/net/network_portal_detector_impl.cc RecordDetectionStats(network, state.status); network 508 chrome/browser/chromeos/net/network_portal_detector_impl.cc portal_state_map_[network->path()] = state; network 510 chrome/browser/chromeos/net/network_portal_detector_impl.cc NotifyDetectionCompleted(network, state); network 514 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network, network 517 chrome/browser/chromeos/net/network_portal_detector_impl.cc Observer, observers_, OnPortalDetectionCompleted(network, state)); network 518 chrome/browser/chromeos/net/network_portal_detector_impl.cc notification_controller_.OnPortalDetectionCompleted(network, state); network 526 chrome/browser/chromeos/net/network_portal_detector_impl.cc const NetworkState* network, network 529 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (!network) network 541 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() == shill::kStateOnline || network 542 chrome/browser/chromeos/net/network_portal_detector_impl.cc network->connection_state() == shill::kStatePortal) { network 543 chrome/browser/chromeos/net/network_portal_detector_impl.cc RecordDiscrepancyWithShill(network, status); network 547 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() != shill::kStateOnline) network 548 chrome/browser/chromeos/net/network_portal_detector_impl.cc RecordDiscrepancyWithShill(network, status); network 551 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() != shill::kStatePortal) network 552 chrome/browser/chromeos/net/network_portal_detector_impl.cc RecordDiscrepancyWithShill(network, status); network 555 chrome/browser/chromeos/net/network_portal_detector_impl.cc if (network->connection_state() != shill::kStateOnline) network 556 chrome/browser/chromeos/net/network_portal_detector_impl.cc RecordDiscrepancyWithShill(network, status); network 77 chrome/browser/chromeos/net/network_portal_detector_impl.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 135 chrome/browser/chromeos/net/network_portal_detector_impl.h void OnDetectionCompleted(const NetworkState* network, network 139 chrome/browser/chromeos/net/network_portal_detector_impl.h void NotifyDetectionCompleted(const NetworkState* network, network 181 chrome/browser/chromeos/net/network_portal_detector_impl.h void RecordDetectionStats(const NetworkState* network, network 59 chrome/browser/chromeos/net/network_portal_detector_impl_unittest.cc void(const NetworkState* network, network 133 chrome/browser/chromeos/net/network_portal_notification_controller.cc const NetworkState* network, network 138 chrome/browser/chromeos/net/network_portal_notification_controller.cc if (!network || network 147 chrome/browser/chromeos/net/network_portal_notification_controller.cc if (network->path() == last_network_path_) network 149 chrome/browser/chromeos/net/network_portal_notification_controller.cc last_network_path_ = network->path(); network 162 chrome/browser/chromeos/net/network_portal_notification_controller.cc base::UTF8ToUTF16(network->name())), network 173 chrome/browser/chromeos/net/network_portal_notification_controller.cc ->NotifyOnCaptivePortalDetected(network->path()); network 41 chrome/browser/chromeos/net/network_portal_notification_controller.h const NetworkState* network, network 82 chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc const NetworkState* network, network 84 chrome/browser/chromeos/net/network_portal_notification_controller_unittest.cc controller_.OnPortalDetectionCompleted(network, state); network 211 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; network 212 chrome/browser/chromeos/net/onc_utils.cc (*it)->GetAsDictionary(&network); network 213 chrome/browser/chromeos/net/onc_utils.cc DCHECK(network); network 219 chrome/browser/chromeos/net/onc_utils.cc *network); network 310 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; network 311 chrome/browser/chromeos/net/onc_utils.cc (*it)->GetAsDictionary(&network); network 312 chrome/browser/chromeos/net/onc_utils.cc DCHECK(network); network 315 chrome/browser/chromeos/net/onc_utils.cc network->GetStringWithoutPathExpansion(::onc::network_config::kGUID, network 318 chrome/browser/chromeos/net/onc_utils.cc return network; network 328 chrome/browser/chromeos/net/onc_utils.cc const base::DictionaryValue* network = NULL; network 329 chrome/browser/chromeos/net/onc_utils.cc (*it)->GetAsDictionary(&network); network 330 chrome/browser/chromeos/net/onc_utils.cc DCHECK(network); network 333 chrome/browser/chromeos/net/onc_utils.cc network->GetStringWithoutPathExpansion(::onc::network_config::kType, &type); network 338 chrome/browser/chromeos/net/onc_utils.cc network->GetDictionaryWithoutPathExpansion(::onc::network_config::kEthernet, network 345 chrome/browser/chromeos/net/onc_utils.cc return network; network 450 chrome/browser/chromeos/net/onc_utils.cc const FavoriteState& network) { network 453 chrome/browser/chromeos/net/onc_utils.cc profile_prefs, local_state_prefs, network, &ignored_onc_source); network 78 chrome/browser/chromeos/net/onc_utils.h const FavoriteState& network); network 44 chrome/browser/chromeos/net/proxy_config_handler.cc const FavoriteState& network, network 48 chrome/browser/chromeos/net/proxy_config_handler.cc profile_prefs, local_state_prefs, network, onc_source); network 65 chrome/browser/chromeos/net/proxy_config_handler.cc if (network.profile_path().empty()) network 69 chrome/browser/chromeos/net/proxy_config_handler.cc ->network_profile_handler()->GetProfileForPath(network.profile_path()); network 71 chrome/browser/chromeos/net/proxy_config_handler.cc VLOG(1) << "Unknown profile_path '" << network.profile_path() << "'."; network 88 chrome/browser/chromeos/net/proxy_config_handler.cc const base::DictionaryValue& value = network.proxy_config(); network 95 chrome/browser/chromeos/net/proxy_config_handler.cc const FavoriteState& network) { network 106 chrome/browser/chromeos/net/proxy_config_handler.cc dbus::ObjectPath(network.path()), network 108 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&NotifyNetworkStateHandler, network.path()), network 111 chrome/browser/chromeos/net/proxy_config_handler.cc network.path(), network 117 chrome/browser/chromeos/net/proxy_config_handler.cc dbus::ObjectPath(network.path()), network 120 chrome/browser/chromeos/net/proxy_config_handler.cc base::Bind(&NotifyNetworkStateHandler, network.path()), network 123 chrome/browser/chromeos/net/proxy_config_handler.cc network.path(), network 32 chrome/browser/chromeos/net/proxy_config_handler.h const FavoriteState& network, network 36 chrome/browser/chromeos/net/proxy_config_handler.h const FavoriteState& network); network 87 chrome/browser/chromeos/options/network_config_view.cc bool NetworkConfigView::InitWithNetworkState(const NetworkState* network) { network 88 chrome/browser/chromeos/options/network_config_view.cc DCHECK(network); network 89 chrome/browser/chromeos/options/network_config_view.cc std::string service_path = network->path(); network 90 chrome/browser/chromeos/options/network_config_view.cc if (network->type() == shill::kTypeWifi || network 91 chrome/browser/chromeos/options/network_config_view.cc network->type() == shill::kTypeEthernet) { network 93 chrome/browser/chromeos/options/network_config_view.cc } else if (network->type() == shill::kTypeWimax) { network 95 chrome/browser/chromeos/options/network_config_view.cc } else if (network->type() == shill::kTypeVPN) { network 127 chrome/browser/chromeos/options/network_config_view.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 129 chrome/browser/chromeos/options/network_config_view.cc if (!network) { network 133 chrome/browser/chromeos/options/network_config_view.cc if (!view->InitWithNetworkState(network)) { network 135 chrome/browser/chromeos/options/network_config_view.cc << network->type(); network 92 chrome/browser/chromeos/options/network_config_view.h bool InitWithNetworkState(const NetworkState* network); network 1045 chrome/browser/chromeos/options/vpn_config_view.cc const NetworkState* network, network 1051 chrome/browser/chromeos/options/vpn_config_view.cc onc::FindPolicyForActiveUser(network->guid(), &onc_source); network 1053 chrome/browser/chromeos/options/vpn_config_view.cc VLOG_IF(1, !onc) << "No ONC found for VPN network " << network->guid(); network 130 chrome/browser/chromeos/options/vpn_config_view.h void ParseVPNUIProperty(const NetworkState* network, network 387 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network = GetNetworkState(); network 388 chrome/browser/chromeos/options/wifi_config_view.cc if (network && network->type() == shill::kTypeEthernet) network 591 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network = GetNetworkState(); network 592 chrome/browser/chromeos/options/wifi_config_view.cc if (network && network->connection_state() == shill::kStateFailure) { network 594 chrome/browser/chromeos/options/wifi_config_view.cc network->last_error(), network->path()); network 659 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network = GetNetworkState(); network 665 chrome/browser/chromeos/options/wifi_config_view.cc const bool share_default = !network || !network->IsPrivate(); network 713 chrome/browser/chromeos/options/wifi_config_view.cc if (!network) { network 730 chrome/browser/chromeos/options/wifi_config_view.cc if (network->type() == shill::kTypeEthernet) { network 899 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network = GetNetworkState(); network 900 chrome/browser/chromeos/options/wifi_config_view.cc if (network) { network 901 chrome/browser/chromeos/options/wifi_config_view.cc if (network->type() == shill::kTypeWifi) { network 902 chrome/browser/chromeos/options/wifi_config_view.cc if (network->security() == shill::kSecurity8021x) network 904 chrome/browser/chromeos/options/wifi_config_view.cc } else if (network->type() == shill::kTypeEthernet) { network 908 chrome/browser/chromeos/options/wifi_config_view.cc << network->type() << " Path: " << service_path_; network 910 chrome/browser/chromeos/options/wifi_config_view.cc ParseEAPUIProperty(&eap_method_ui_data_, network, ::onc::eap::kOuter); network 911 chrome/browser/chromeos/options/wifi_config_view.cc ParseEAPUIProperty(&phase_2_auth_ui_data_, network, ::onc::eap::kInner); network 913 chrome/browser/chromeos/options/wifi_config_view.cc &user_cert_ui_data_, network, ::onc::eap::kClientCertRef); network 915 chrome/browser/chromeos/options/wifi_config_view.cc &server_ca_cert_ui_data_, network, ::onc::eap::kServerCARef); network 918 chrome/browser/chromeos/options/wifi_config_view.cc &server_ca_cert_ui_data_, network, ::onc::eap::kUseSystemCAs); network 920 chrome/browser/chromeos/options/wifi_config_view.cc ParseEAPUIProperty(&identity_ui_data_, network, ::onc::eap::kIdentity); network 922 chrome/browser/chromeos/options/wifi_config_view.cc &identity_anonymous_ui_data_, network, ::onc::eap::kAnonymousIdentity); network 924 chrome/browser/chromeos/options/wifi_config_view.cc &save_credentials_ui_data_, network, ::onc::eap::kSaveCredentials); network 926 chrome/browser/chromeos/options/wifi_config_view.cc ParseEAPUIProperty(&passphrase_ui_data_, network, ::onc::eap::kPassword); network 928 chrome/browser/chromeos/options/wifi_config_view.cc ParseUIProperty(&passphrase_ui_data_, network, ::onc::wifi::kPassphrase); network 951 chrome/browser/chromeos/options/wifi_config_view.cc if (!network || network->type() != shill::kTypeEthernet) { network 955 chrome/browser/chromeos/options/wifi_config_view.cc if (!network) { network 963 chrome/browser/chromeos/options/wifi_config_view.cc new views::Label(base::UTF8ToUTF16(network->name())); network 971 chrome/browser/chromeos/options/wifi_config_view.cc if (!network && !show_8021x) { network 1095 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_label_->SetEnabled(network); network 1096 chrome/browser/chromeos/options/wifi_config_view.cc passphrase_textfield_->SetEnabled(network && network 1170 chrome/browser/chromeos/options/wifi_config_view.cc if (!network || network->profile_path().empty()) { network 1190 chrome/browser/chromeos/options/wifi_config_view.cc if (!network && show_8021x) network 1196 chrome/browser/chromeos/options/wifi_config_view.cc if (network) { network 1345 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network = GetNetworkState(); network 1346 chrome/browser/chromeos/options/wifi_config_view.cc return network && network->type() == shill::kTypeEthernet; network 1349 chrome/browser/chromeos/options/wifi_config_view.cc void WifiConfigView::NetworkPropertiesUpdated(const NetworkState* network) { network 1350 chrome/browser/chromeos/options/wifi_config_view.cc if (network->path() != service_path_) network 1364 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network, network 1368 chrome/browser/chromeos/options/wifi_config_view.cc onc::FindPolicyForActiveUser(network->guid(), &onc_source); network 1369 chrome/browser/chromeos/options/wifi_config_view.cc std::string onc_tag = network->type() == shill::kTypeEthernet network 1377 chrome/browser/chromeos/options/wifi_config_view.cc const NetworkState* network, network 1379 chrome/browser/chromeos/options/wifi_config_view.cc std::string onc_tag = network->type() == shill::kTypeEthernet network 1382 chrome/browser/chromeos/options/wifi_config_view.cc ParseUIProperty(property_ui_data, network, onc_tag + '.' + key); network 88 chrome/browser/chromeos/options/wifi_config_view.h virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; network 93 chrome/browser/chromeos/options/wifi_config_view.h const NetworkState* network, network 99 chrome/browser/chromeos/options/wifi_config_view.h const NetworkState* network, network 38 chrome/browser/chromeos/proxy_config_service_impl.cc const FavoriteState& network, network 43 chrome/browser/chromeos/proxy_config_service_impl.cc profile_prefs, local_state_prefs, network, onc_source); network 164 chrome/browser/chromeos/proxy_config_service_impl.cc const FavoriteState* network = handler->DefaultFavoriteNetwork(); network 175 chrome/browser/chromeos/proxy_config_service_impl.cc if (network) { network 178 chrome/browser/chromeos/proxy_config_service_impl.cc prefs(), local_state_prefs_, *network, &network_config, &onc_source); network 180 chrome/browser/chromeos/proxy_config_service_impl.cc IgnoreProxy(profile_prefs_, network->profile_path(), onc_source); network 188 chrome/browser/chromeos/proxy_config_service_impl.cc VLOG(1) << this << ": using proxy of network " << network->path(); network 54 chrome/browser/chromeos/proxy_config_service_impl.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 304 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc const NetworkState* network = network_state_handler->DefaultNetwork(); network 305 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc ASSERT_TRUE(network); network 307 chrome/browser/chromeos/proxy_config_service_impl_unittest.cc SetServiceProperty(network->path(), network 157 chrome/browser/chromeos/status/data_promo_notification.cc const NetworkState* network) { network 158 chrome/browser/chromeos/status/data_promo_notification.cc if (!network || network->type() != shill::kTypeCellular) network 163 chrome/browser/chromeos/status/data_promo_notification.cc void DataPromoNotification::DefaultNetworkChanged(const NetworkState* network) { network 166 chrome/browser/chromeos/status/data_promo_notification.cc NetworkPropertiesUpdated(network); network 34 chrome/browser/chromeos/status/data_promo_notification.h virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; network 35 chrome/browser/chromeos/status/data_promo_notification.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 59 chrome/browser/chromeos/status/network_menu.cc bool ShouldHighlightNetwork(const NetworkState* network) { network 60 chrome/browser/chromeos/status/network_menu.cc return network->IsConnectedState() || network->IsConnectingState(); network 346 chrome/browser/chromeos/status/network_menu.cc void MainMenuModel::AddWirelessNetworkMenuItem(const NetworkState* network, network 351 chrome/browser/chromeos/status/network_menu.cc std::string wifi_name = EscapeAmpersands(network->name()); network 352 chrome/browser/chromeos/status/network_menu.cc if (network->IsConnectingState()) { network 365 chrome/browser/chromeos/status/network_menu.cc if (ShouldHighlightNetwork(network)) network 368 chrome/browser/chromeos/status/network_menu.cc network, ash::network_icon::ICON_TYPE_LIST); network 371 chrome/browser/chromeos/status/network_menu.cc label, icon, network->path(), flag)); network 422 chrome/browser/chromeos/status/network_menu.cc const NetworkState* network = *iter; network 423 chrome/browser/chromeos/status/network_menu.cc if (network->type() != shill::kTypeCellular) network 425 chrome/browser/chromeos/status/network_menu.cc std::string activation_state = network->activation_state(); network 434 chrome/browser/chromeos/status/network_menu.cc std::string network_name = EscapeAmpersands(network->name()); network 435 chrome/browser/chromeos/status/network_menu.cc if (network->IsConnectingState()) { network 445 chrome/browser/chromeos/status/network_menu.cc bool isActive = ShouldHighlightNetwork(network); network 449 chrome/browser/chromeos/status/network_menu.cc network, ash::network_icon::ICON_TYPE_LIST); network 452 chrome/browser/chromeos/status/network_menu.cc label, icon, network->path(), flag)); network 482 chrome/browser/chromeos/status/network_menu.cc const NetworkState* network = *iter; network 483 chrome/browser/chromeos/status/network_menu.cc if (network->type() != shill::kTypeWimax) network 485 chrome/browser/chromeos/status/network_menu.cc AddWirelessNetworkMenuItem(network, FLAG_WIMAX); network 497 chrome/browser/chromeos/status/network_menu.cc const NetworkState* network = *iter; network 498 chrome/browser/chromeos/status/network_menu.cc if (network->type() != shill::kTypeWifi) network 501 chrome/browser/chromeos/status/network_menu.cc if (scanning_msg && !network->IsConnectedState()) { network 505 chrome/browser/chromeos/status/network_menu.cc AddWirelessNetworkMenuItem(network, FLAG_WIFI); network 43 chrome/browser/chromeos/ui_proxy_config_service.cc const FavoriteState& network, network 48 chrome/browser/chromeos/ui_proxy_config_service.cc profile_prefs, local_state_prefs, network, onc_source); network 82 chrome/browser/chromeos/ui_proxy_config_service.cc const FavoriteState* network = NULL; network 84 chrome/browser/chromeos/ui_proxy_config_service.cc network = NetworkHandler::Get()->network_state_handler()->GetFavoriteState( network 86 chrome/browser/chromeos/ui_proxy_config_service.cc LOG_IF(ERROR, !network) << "Couldn't find FavoriteState for network " network 89 chrome/browser/chromeos/ui_proxy_config_service.cc if (!network) { network 95 chrome/browser/chromeos/ui_proxy_config_service.cc DetermineEffectiveConfig(*network); network 96 chrome/browser/chromeos/ui_proxy_config_service.cc VLOG(1) << "Current ui network: " << network->name() << ", " network 111 chrome/browser/chromeos/ui_proxy_config_service.cc const FavoriteState* network = network 114 chrome/browser/chromeos/ui_proxy_config_service.cc if (!network) { network 128 chrome/browser/chromeos/ui_proxy_config_service.cc proxy_config::SetProxyConfigForFavoriteNetwork(proxy_config_dict, *network); network 133 chrome/browser/chromeos/ui_proxy_config_service.cc const FavoriteState& network) { network 153 chrome/browser/chromeos/ui_proxy_config_service.cc network, network 157 chrome/browser/chromeos/ui_proxy_config_service.cc VLOG(1) << this << ": using proxy of network: " << network.path(); network 179 chrome/browser/chromeos/ui_proxy_config_service.cc profile_prefs_, network.profile_path(), onc_source); network 58 chrome/browser/chromeos/ui_proxy_config_service.h void DetermineEffectiveConfig(const FavoriteState& network); network 47 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; network 162 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc const NetworkState* network) { network 167 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc network->path()); network 171 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc network->path()); network 174 chrome/browser/extensions/api/networking_private/networking_private_event_router_chromeos.cc std::vector<std::string>(1, network->path()))); network 701 chrome/browser/metrics/metrics_log.cc SystemProfileProto::Network* network = system_profile->mutable_network(); network 702 chrome/browser/metrics/metrics_log.cc network->set_connection_type_is_ambiguous( network 704 chrome/browser/metrics/metrics_log.cc network->set_connection_type(network_observer_.connection_type()); network 705 chrome/browser/metrics/metrics_log.cc network->set_wifi_phy_layer_protocol_is_ambiguous( network 707 chrome/browser/metrics/metrics_log.cc network->set_wifi_phy_layer_protocol( network 186 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc base::DictionaryValue* network = new base::DictionaryValue(); network 187 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kNetworkIdProperty, it->network_id); network 189 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kOperatorNameProperty, it->long_name); network 191 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kOperatorNameProperty, it->short_name); network 193 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kOperatorNameProperty, it->network_id); network 194 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kStatusProperty, it->status); network 195 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc network->SetString(kTechnologyProperty, it->technology); network 196 chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc networks_list_.Append(network); network 26 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc const chromeos::NetworkState* network = network 29 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc if (!network) network 31 chrome/browser/ui/webui/chromeos/login/app_launch_splash_screen_handler.cc return network->name(); network 110 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc const std::string& network) { network 112 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc network_ = network; network 114 chrome/browser/ui/webui/chromeos/login/error_screen_handler.cc CallJS("setErrorState", static_cast<int>(error_state_), network); network 43 chrome/browser/ui/webui/chromeos/login/error_screen_handler.h const std::string& network) OVERRIDE; network 160 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc void NetworkDropdown::DefaultNetworkChanged(const NetworkState* network) { network 165 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc const NetworkState* network) { network 50 chrome/browser/ui/webui/chromeos/login/network_dropdown.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 52 chrome/browser/ui/webui/chromeos/login/network_dropdown.h const NetworkState* network) OVERRIDE; network 45 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc const NetworkState* network = network 47 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc if (!network) network 52 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc NetworkPortalDetector::Get()->GetCaptivePortalState(network->path()); network 55 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc NetworkState::StateIsConnecting(network->connection_state())) { network 63 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc network->connection_state() == shill::kStateOnline)) { network 73 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc network->connection_state() == shill::kStatePortal)) network 76 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc if (NetworkState::StateIsConnecting(network->connection_state())) network 78 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc if (network->connection_state() == shill::kStateOnline) network 80 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc if (network->connection_state() == shill::kStatePortal) network 126 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc void NetworkStateInformer::DefaultNetworkChanged(const NetworkState* network) { network 131 chrome/browser/ui/webui/chromeos/login/network_state_informer.cc const NetworkState* network, network 65 chrome/browser/ui/webui/chromeos/login/network_state_informer.h virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE; network 69 chrome/browser/ui/webui/chromeos/login/network_state_informer.h const NetworkState* network, network 168 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 170 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc if (!network) network 172 chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc return network->name(); network 207 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network, network 234 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network) OVERRIDE; network 241 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc void UpdatePortalReachability(const NetworkState* network, network 391 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network, network 398 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (!network) { network 407 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc network->path(), network 414 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc network->path(), network 509 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network = nsh->GetNetworkState(path.substr(1)); network 510 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (!network) { network 519 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (network->network_technology() == shill::kNetworkTechnologyLte || network 520 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc network->network_technology() == shill::kNetworkTechnologyLteAdvanced) { network 525 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc UpdatePortalReachability(network, network 537 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc network->path(), network 542 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc network->path(), network 575 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network = network 577 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (!network) { network 583 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc UpdatePortalReachability(network, false /* do not force notification */); network 587 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network) { network 592 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc if (path.empty() || path != network->path()) network 595 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc UpdatePortalReachability(network, false /* do not force notification */); network 599 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc const NetworkState* network, network 608 chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc (network->IsConnectedState() || network 48 chrome/browser/ui/webui/help/version_updater_chromeos.cc NetworkStatus GetNetworkStatus(const chromeos::NetworkState* network) { network 49 chrome/browser/ui/webui/help/version_updater_chromeos.cc if (!network || !network->IsConnectedState()) // Offline state. network 54 chrome/browser/ui/webui/help/version_updater_chromeos.cc if (network->type() == shill::kTypeBluetooth) network 56 chrome/browser/ui/webui/help/version_updater_chromeos.cc if (network->type() == shill::kTypeCellular && network 93 chrome/browser/ui/webui/help/version_updater_chromeos.cc const chromeos::NetworkState* network = network 98 chrome/browser/ui/webui/help/version_updater_chromeos.cc NetworkStatus status = GetNetworkStatus(network); network 107 chrome/browser/ui/webui/help/version_updater_chromeos.cc help_utils_chromeos::GetConnectionTypeAsUTF16(network->type())); network 418 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc bool HasPolicyForNetwork(const NetworkState* network, network 422 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network->path()); network 450 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network, network 454 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network_info->SetBoolean(kNetworkInfoKeyConnectable, network->connectable()); network 456 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network->IsConnectedState()); network 458 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network->IsConnectingState()); network 460 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc HasPolicyForNetwork(network, profile_prefs)); network 463 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network, ash::network_icon::ICON_TYPE_LIST); network 464 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc SetCommonNetworkInfo(network, icon, icon_scale_factor, network_info.get()); network 735 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void PopulateConnectionDetails(const NetworkState* network, network 1211 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = network 1213 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network) { network 1214 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ash::network_connect::ActivateCellular(network->path()); network 1215 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc UpdateConnectionData(network->path()); network 1301 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = GetNetworkState(service_path); network 1302 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!network) network 1305 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateConnectionDetails(network, shill_properties, &dictionary); network 1326 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network) { network 1336 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network) { network 1340 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc UpdateConnectionData(network->path()); network 1523 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = GetNetworkState(service_path); network 1524 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!network) { network 1533 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc onc::FindPolicyForActiveUser(network->guid(), &onc_source); network 1540 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc GetDeviceState(network->device_path()); network 1546 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ipconfig_dhcp->SetString(kIpConfigAddress, network->ip_address()); network 1547 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ipconfig_dhcp->SetString(kIpConfigNetmask, network->GetNetmask()); network 1548 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ipconfig_dhcp->SetString(kIpConfigGateway, network->gateway()); network 1549 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc std::string ipconfig_name_servers = network->GetDnsServersAsString(); network 1552 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc network->web_proxy_auto_discovery_url().spec()); network 1586 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc std::string type = network->type(); network 1588 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary.SetString(kTagServicePath, network->path()); network 1593 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary.SetBoolean(kTagShowProxy, !network->profile_path().empty()); network 1596 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc bool staticIPConfig = network->Matches(NetworkTypePattern::Ethernet()) || network 1600 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary.SetBoolean(kTagShowPreferred, !network->profile_path().empty()); network 1614 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network->IsConnectedState()) { network 1625 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network->IsConnectedState()) { network 1636 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network->IsConnectedState()) { network 1648 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc SetAutoconnectValueDictionary(network->IsPrivate(), network 1654 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateConnectionDetails(network, shill_properties, &dictionary); network 1662 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc void PopulateConnectionDetails(const NetworkState* network, network 1665 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetString(kNetworkInfoKeyServicePath, network->path()); network 1666 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetString(kTagServiceName, network->name()); network 1667 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetBoolean(kTagConnecting, network->IsConnectingState()); network 1668 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetBoolean(kTagConnected, network->IsConnectedState()); network 1670 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ConnectionStateString(network->connection_state())); network 1671 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetString(kTagNetworkName, network->name()); network 1674 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc ash::network_connect::ErrorString(network->error(), network->path())); network 1676 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc dictionary->SetBoolean(kTagRemembered, !network->profile_path().empty()); network 1677 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc bool shared = !network->IsPrivate(); network 1680 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const std::string& type = network->type(); network 1688 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateWifiDetails(network, shill_properties, dictionary); network 1690 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateWimaxDetails(network, shill_properties, dictionary); network 1692 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateCellularDetails(network, shill_properties, dictionary); network 1694 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc PopulateVPNDetails(network, shill_properties, dictionary); network 1977 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = GetNetworkState(service_path); network 1978 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network && network->type() == shill::kTypeWifi) network 1981 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc else if (network && network->type() == shill::kTypeVPN) network 1986 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = GetNetworkState(service_path); network 1987 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (network && network->type() == shill::kTypeWifi) network 1990 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc else if (network && network->type() == shill::kTypeVPN) network 2028 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc const NetworkState* network = NetworkHandler::Get()->network_state_handler()-> network 2030 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc if (!network) network 2033 chrome/browser/ui/webui/options/chromeos/internet_options_handler.cc BuildNetworkDictionary(network, network 95 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const chromeos::NetworkState* network) OVERRIDE; network 97 chrome/browser/ui/webui/options/chromeos/internet_options_handler.h const chromeos::NetworkState* network) OVERRIDE; network 739 chrome/browser/ui/webui/options/preferences_browsertest.cc const chromeos::FavoriteState* network = GetDefaultFavoriteNetwork(); network 740 chrome/browser/ui/webui/options/preferences_browsertest.cc ASSERT_TRUE(network); network 742 chrome/browser/ui/webui/options/preferences_browsertest.cc *network); network 746 chrome/browser/ui/webui/options/preferences_browsertest.cc network->path().c_str()); network 834 chrome/browser/ui/webui/options/preferences_browsertest.cc const chromeos::FavoriteState* network = GetDefaultFavoriteNetwork(); network 835 chrome/browser/ui/webui/options/preferences_browsertest.cc ASSERT_TRUE(network); network 841 chrome/browser/ui/webui/options/preferences_browsertest.cc *network, network 101 chrome/utility/local_discovery/service_discovery_client_impl.cc bool network, bool cache, bool force_refresh, network 104 chrome/utility/local_discovery/service_discovery_client_impl.cc if (network) network 407 chromeos/dbus/fake_shill_manager_client.cc const base::DictionaryValue& network) { network 414 chromeos/dbus/fake_shill_manager_client.cc list_value->Append(network.DeepCopy()); network 91 chromeos/dbus/fake_shill_manager_client.h const base::DictionaryValue& network) OVERRIDE; network 49 chromeos/dbus/shill_manager_client.h const base::DictionaryValue& network) = 0; network 346 chromeos/network/client_cert_resolver.cc const FavoriteState* network = network 348 chromeos/network/client_cert_resolver.cc if (!network) { network 353 chromeos/network/client_cert_resolver.cc networks.push_back(network); network 365 chromeos/network/client_cert_resolver.cc const FavoriteState* network = *it; network 368 chromeos/network/client_cert_resolver.cc resolved_networks_.insert(network->path()); network 371 chromeos/network/client_cert_resolver.cc if (network->guid().empty()) network 374 chromeos/network/client_cert_resolver.cc if (network->profile_path().empty()) { network 375 chromeos/network/client_cert_resolver.cc LOG(ERROR) << "Network " << network->path() network 381 chromeos/network/client_cert_resolver.cc network->guid(), network->profile_path()); network 384 chromeos/network/client_cert_resolver.cc VLOG(1) << "The policy for network " << network->path() << " with GUID " network 385 chromeos/network/client_cert_resolver.cc << network->guid() << " is not available yet."; network 391 chromeos/network/client_cert_resolver.cc VLOG(2) << "Inspecting network " << network->path(); network 406 chromeos/network/client_cert_resolver.cc << "doesn't. Network: " << network->path(); network 411 chromeos/network/client_cert_resolver.cc network->path(), config_type, ui_data->certificate_pattern())); network 371 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* network = NULL; network 372 chromeos/network/managed_network_configuration_handler_impl.cc (*it)->GetAsDictionary(&network); network 373 chromeos/network/managed_network_configuration_handler_impl.cc DCHECK(network); network 376 chromeos/network/managed_network_configuration_handler_impl.cc network->GetStringWithoutPathExpansion(::onc::network_config::kGUID, &guid); network 384 chromeos/network/managed_network_configuration_handler_impl.cc const base::DictionaryValue* new_entry = network->DeepCopy(); network 407 chromeos/network/network_configuration_handler_unittest.cc virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE { network 408 chromeos/network/network_configuration_handler_unittest.cc property_updates_[network->path()]++; network 88 chromeos/network/network_connection_handler.cc std::string GetDefaultUserProfilePath(const NetworkState* network) { network 91 chromeos/network/network_connection_handler.cc (network && network->type() == shill::kTypeWifi && network 92 chromeos/network/network_connection_handler.cc network->security() == shill::kSecurityNone)) { network 233 chromeos/network/network_connection_handler.cc const NetworkState* network = network 236 chromeos/network/network_connection_handler.cc if (network) { network 238 chromeos/network/network_connection_handler.cc if (network->IsConnectedState()) { network 242 chromeos/network/network_connection_handler.cc if (network->IsConnectingState()) { network 246 chromeos/network/network_connection_handler.cc if (network->RequiresActivation()) { network 253 chromeos/network/network_connection_handler.cc const std::string& error = network->last_error(); network 270 chromeos/network/network_connection_handler.cc if (!network || network->profile_path().empty()) network 271 chromeos/network/network_connection_handler.cc profile_path = GetDefaultUserProfilePath(network); network 281 chromeos/network/network_connection_handler.cc if (network && network->connectable() && network->type() != shill::kTypeVPN) { network 302 chromeos/network/network_connection_handler.cc const NetworkState* network = network 304 chromeos/network/network_connection_handler.cc if (!network) { network 308 chromeos/network/network_connection_handler.cc if (!network->IsConnectedState()) { network 329 chromeos/network/network_connection_handler.cc const NetworkState* network) { network 330 chromeos/network/network_connection_handler.cc if (HasConnectingNetwork(network->path())) network 331 chromeos/network/network_connection_handler.cc CheckPendingRequest(network->path()); network 651 chromeos/network/network_connection_handler.cc const NetworkState* network = network 653 chromeos/network/network_connection_handler.cc if (!network) network 656 chromeos/network/network_connection_handler.cc if (network->IsConnectingState()) { network 660 chromeos/network/network_connection_handler.cc if (network->IsConnectedState()) { network 674 chromeos/network/network_connection_handler.cc if (network->connection_state() == shill::kStateIdle && network 682 chromeos/network/network_connection_handler.cc if (network->connection_state() == shill::kStateIdle && network 688 chromeos/network/network_connection_handler.cc if (network->connection_state() != shill::kStateFailure) { network 689 chromeos/network/network_connection_handler.cc NET_LOG_ERROR("Unexpected State: " + network->connection_state(), network 130 chromeos/network/network_connection_handler.h virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE; network 30 chromeos/network/network_state_handler.cc bool ConnectionStateChanged(NetworkState* network, network 32 chromeos/network/network_state_handler.cc return (network->connection_state() != prev_connection_state) && network 33 chromeos/network/network_state_handler.cc (network->connection_state() != shill::kStateIdle || network 176 chromeos/network/network_state_handler.cc const NetworkState* network = GetModifiableNetworkState(service_path); network 177 chromeos/network/network_state_handler.cc if (network && !network->update_received()) network 179 chromeos/network/network_state_handler.cc return network; network 205 chromeos/network/network_state_handler.cc const NetworkState* network = (*iter)->AsNetworkState(); network 206 chromeos/network/network_state_handler.cc DCHECK(network); network 207 chromeos/network/network_state_handler.cc if (!network->update_received()) network 209 chromeos/network/network_state_handler.cc if (!network->IsConnectedState()) network 211 chromeos/network/network_state_handler.cc if (network->Matches(type)) network 212 chromeos/network/network_state_handler.cc return network; network 221 chromeos/network/network_state_handler.cc const NetworkState* network = (*iter)->AsNetworkState(); network 222 chromeos/network/network_state_handler.cc DCHECK(network); network 223 chromeos/network/network_state_handler.cc if (!network->update_received() || network->IsConnectedState()) network 225 chromeos/network/network_state_handler.cc if (!network->IsConnectingState()) network 227 chromeos/network/network_state_handler.cc if (network->Matches(type)) network 228 chromeos/network/network_state_handler.cc return network; network 237 chromeos/network/network_state_handler.cc const NetworkState* network = (*iter)->AsNetworkState(); network 238 chromeos/network/network_state_handler.cc DCHECK(network); network 239 chromeos/network/network_state_handler.cc if (!network->update_received()) network 241 chromeos/network/network_state_handler.cc if (network->Matches(type)) network 242 chromeos/network/network_state_handler.cc return network; network 250 chromeos/network/network_state_handler.cc const NetworkState* network = ConnectedNetworkByType(type); network 251 chromeos/network/network_state_handler.cc if (network) network 252 chromeos/network/network_state_handler.cc device = GetDeviceState(network->device_path()); network 270 chromeos/network/network_state_handler.cc const NetworkState* network = (*iter)->AsNetworkState(); network 271 chromeos/network/network_state_handler.cc DCHECK(network); network 272 chromeos/network/network_state_handler.cc if (network->update_received() && network->Matches(type)) network 273 chromeos/network/network_state_handler.cc list->push_back(network); network 348 chromeos/network/network_state_handler.cc NetworkState* network = GetModifiableNetworkState(service_path); network 349 chromeos/network/network_state_handler.cc if (network) network 350 chromeos/network/network_state_handler.cc network->set_update_requested(true); network 358 chromeos/network/network_state_handler.cc NetworkState* network = GetModifiableNetworkState(service_path); network 359 chromeos/network/network_state_handler.cc if (network) network 360 chromeos/network/network_state_handler.cc network->clear_last_error(); network 371 chromeos/network/network_state_handler.cc const NetworkState* network = GetNetworkState(service_path); network 372 chromeos/network/network_state_handler.cc if (!network) { network 376 chromeos/network/network_state_handler.cc if (network->type() != shill::kTypeEthernet) { network 380 chromeos/network/network_state_handler.cc if (!network->IsConnectedState()) network 386 chromeos/network/network_state_handler.cc const DeviceState* device = GetDeviceState(network->device_path()); network 391 chromeos/network/network_state_handler.cc network->device_path().c_str(), network 519 chromeos/network/network_state_handler.cc NetworkState* network, network 521 chromeos/network/network_state_handler.cc DCHECK(network); network 523 chromeos/network/network_state_handler.cc std::string prev_connection_state = network->connection_state(); network 526 chromeos/network/network_state_handler.cc if (network->PropertyChanged(iter.key(), iter.value())) network 529 chromeos/network/network_state_handler.cc network_property_updated |= network->InitialPropertiesReceived(properties); network 531 chromeos/network/network_state_handler.cc if (network_property_updated || network->update_requested()) { network 533 chromeos/network/network_state_handler.cc if (ConnectionStateChanged(network, prev_connection_state)) network 534 chromeos/network/network_state_handler.cc OnNetworkConnectionStateChanged(network); network 535 chromeos/network/network_state_handler.cc NET_LOG_EVENT("NetworkPropertiesUpdated", GetManagedStateLogName(network)); network 536 chromeos/network/network_state_handler.cc NotifyNetworkPropertiesUpdated(network); network 552 chromeos/network/network_state_handler.cc NetworkState* network = GetModifiableNetworkState(service_path); network 553 chromeos/network/network_state_handler.cc if (!network) network 555 chromeos/network/network_state_handler.cc std::string prev_connection_state = network->connection_state(); network 556 chromeos/network/network_state_handler.cc std::string prev_profile_path = network->profile_path(); network 557 chromeos/network/network_state_handler.cc changed |= network->PropertyChanged(key, value); network 562 chromeos/network/network_state_handler.cc if (ConnectionStateChanged(network, prev_connection_state)) { network 563 chromeos/network/network_state_handler.cc OnNetworkConnectionStateChanged(network); network 580 chromeos/network/network_state_handler.cc if (network->path() == default_network_path_) { network 581 chromeos/network/network_state_handler.cc NotifyDefaultNetworkChanged(network); network 585 chromeos/network/network_state_handler.cc std::string detail = network->name() + "." + key; network 598 chromeos/network/network_state_handler.cc NotifyNetworkPropertiesUpdated(network); network 602 chromeos/network/network_state_handler.cc if (prev_profile_path.empty() && !network->profile_path().empty()) network 696 chromeos/network/network_state_handler.cc const NetworkState* network = NULL; network 698 chromeos/network/network_state_handler.cc network = GetNetworkState(default_network_path_); network 699 chromeos/network/network_state_handler.cc if (!network) { network 707 chromeos/network/network_state_handler.cc if (network && !network->IsConnectedState()) { network 709 chromeos/network/network_state_handler.cc "DefaultNetwork is not connected: " + network->connection_state(), network 710 chromeos/network/network_state_handler.cc network->path()); network 712 chromeos/network/network_state_handler.cc NotifyDefaultNetworkChanged(network); network 769 chromeos/network/network_state_handler.cc NetworkState* network) { network 770 chromeos/network/network_state_handler.cc DCHECK(network); network 772 chromeos/network/network_state_handler.cc if (network->path() == default_network_path_) { network 774 chromeos/network/network_state_handler.cc if (!network->IsConnectedState()) { network 776 chromeos/network/network_state_handler.cc "DefaultNetwork is not connected: " + network->connection_state(), network 777 chromeos/network/network_state_handler.cc network->path()); network 780 chromeos/network/network_state_handler.cc NET_LOG_EVENT(event + ": " + network->connection_state(), network 781 chromeos/network/network_state_handler.cc GetManagedStateLogName(network)); network 783 chromeos/network/network_state_handler.cc NetworkConnectionStateChanged(network)); network 784 chromeos/network/network_state_handler.cc if (network->path() == default_network_path_) network 785 chromeos/network/network_state_handler.cc NotifyDefaultNetworkChanged(network); network 795 chromeos/network/network_state_handler.cc const NetworkState* network) { network 797 chromeos/network/network_state_handler.cc NetworkPropertiesUpdated(network)); network 300 chromeos/network/network_state_handler.h void UpdateNetworkStateProperties(NetworkState* network, network 319 chromeos/network/network_state_handler.h void OnNetworkConnectionStateChanged(NetworkState* network); network 325 chromeos/network/network_state_handler.h void NotifyNetworkPropertiesUpdated(const NetworkState* network); network 22 chromeos/network/network_state_handler_observer.cc const NetworkState* network) { network 26 chromeos/network/network_state_handler_observer.cc const NetworkState* network) { network 30 chromeos/network/network_state_handler_observer.cc const NetworkState* network) { network 36 chromeos/network/network_state_handler_observer.h virtual void DefaultNetworkChanged(const NetworkState* network); network 39 chromeos/network/network_state_handler_observer.h virtual void NetworkConnectionStateChanged(const NetworkState* network); network 45 chromeos/network/network_state_handler_observer.h virtual void NetworkPropertiesUpdated(const NetworkState* network); network 72 chromeos/network/network_state_handler_unittest.cc virtual void DefaultNetworkChanged(const NetworkState* network) OVERRIDE { network 74 chromeos/network/network_state_handler_unittest.cc default_network_ = network ? network->path() : ""; network 76 chromeos/network/network_state_handler_unittest.cc network ? network->connection_state() : ""; network 82 chromeos/network/network_state_handler_unittest.cc const NetworkState* network) OVERRIDE { network 83 chromeos/network/network_state_handler_unittest.cc network_connection_state_[network->path()] = network->connection_state(); network 84 chromeos/network/network_state_handler_unittest.cc connection_state_changes_[network->path()]++; network 87 chromeos/network/network_state_handler_unittest.cc virtual void NetworkPropertiesUpdated(const NetworkState* network) OVERRIDE { network 88 chromeos/network/network_state_handler_unittest.cc DCHECK(network); network 89 chromeos/network/network_state_handler_unittest.cc property_updates_[network->path()]++; network 148 chromeos/network/onc/onc_normalizer.cc void Normalizer::NormalizeNetworkConfiguration(base::DictionaryValue* network) { network 150 chromeos/network/onc/onc_normalizer.cc network->GetBooleanWithoutPathExpansion(::onc::kRemove, &remove); network 152 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kIPConfigs, network 154 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kName, NULL); network 155 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kNameServers, network 157 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kProxySettings, network 159 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kSearchDomains, network 161 chromeos/network/onc/onc_normalizer.cc network->RemoveWithoutPathExpansion(::onc::network_config::kType, NULL); network 166 chromeos/network/onc/onc_normalizer.cc network->GetStringWithoutPathExpansion(::onc::network_config::kType, &type); network 167 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(network, network 171 chromeos/network/onc/onc_normalizer.cc network, ::onc::network_config::kVPN, type == ::onc::network_type::kVPN); network 172 chromeos/network/onc/onc_normalizer.cc RemoveEntryUnless(network, network 43 chromeos/network/onc/onc_normalizer.h void NormalizeNetworkConfiguration(base::DictionaryValue* network); network 233 chromeos/network/onc/onc_utils.cc base::DictionaryValue* network = NULL; network 234 chromeos/network/onc/onc_utils.cc (*it)->GetAsDictionary(&network); network 235 chromeos/network/onc/onc_utils.cc DCHECK(network); network 237 chromeos/network/onc/onc_utils.cc kNetworkConfigurationSignature, substitution, network); network 629 chromeos/network/onc/onc_utils.cc base::DictionaryValue* network = NULL; network 630 chromeos/network/onc/onc_utils.cc (*it)->GetAsDictionary(&network); network 631 chromeos/network/onc/onc_utils.cc if (!ResolveServerCertRefsInNetwork(certs_by_guid, network)) { network 633 chromeos/network/onc/onc_utils.cc network->GetStringWithoutPathExpansion(network_config::kGUID, &guid); network 219 components/wifi/fake_wifi_service.cc scoped_ptr<base::DictionaryValue> network(it->ToValue(true)); network 220 components/wifi/fake_wifi_service.cc network_list->Append(network.release()); network 629 components/wifi/wifi_service_win.cc scoped_ptr<base::DictionaryValue> network(it->ToValue(true)); network 630 components/wifi/wifi_service_win.cc network_list->Append(network.release()); network 99 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc const net::NetworkInterface& network = list->at(i); network 101 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc network_copy.name = network.name; network 106 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc network.address, 0, &(network_copy.addresses[0])); network 114 content/browser/renderer_host/pepper/pepper_network_monitor_host.cc network_copy.display_name = network.name; network 62 content/renderer/p2p/ipc_network_manager.cc talk_base::Network* network = new talk_base::Network( network 64 content/renderer/p2p/ipc_network_manager.cc network->AddIP(talk_base::IPAddress(address)); network 65 content/renderer/p2p/ipc_network_manager.cc networks.push_back(network); network 71 content/renderer/p2p/ipc_network_manager.cc talk_base::Network* network = new talk_base::Network( network 73 content/renderer/p2p/ipc_network_manager.cc network->AddIP(ip6_addr); network 74 content/renderer/p2p/ipc_network_manager.cc networks.push_back(network); network 415 net/http/http_cache.cc net::HttpNetworkLayer* network = network 417 net/http/http_cache.cc HttpNetworkSession* session = network->GetSession(); network 423 net/http/http_cache.cc net::HttpNetworkLayer* network = network 425 net/http/http_cache.cc HttpNetworkSession* session = network->GetSession(); network 465 net/http/http_cache.cc net::HttpNetworkLayer* network = network 467 net/http/http_cache.cc return network->GetSession(); network 79 remoting/client/plugin/pepper_network_manager.cc talk_base::Network* network = new talk_base::Network( network 81 remoting/client/plugin/pepper_network_manager.cc network->AddIP(address.ipaddr()); network 82 remoting/client/plugin/pepper_network_manager.cc networks.push_back(network); network 219 sync/notifier/sync_system_resources.h virtual SyncNetworkChannel* network() OVERRIDE;