Home
last modified time | relevance | path

Searched refs:NetworkStateInformer (Results 1 – 12 of 12) sorted by relevance

/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
Dnetwork_state_informer.cc44 NetworkStateInformer::State GetStateForDefaultNetwork() { in GetStateForDefaultNetwork()
48 return NetworkStateInformer::OFFLINE; in GetStateForDefaultNetwork()
56 return NetworkStateInformer::CONNECTING; in GetStateForDefaultNetwork()
64 return NetworkStateInformer::ONLINE; in GetStateForDefaultNetwork()
69 return NetworkStateInformer::PROXY_AUTH_REQUIRED; in GetStateForDefaultNetwork()
74 return NetworkStateInformer::CAPTIVE_PORTAL; in GetStateForDefaultNetwork()
77 return NetworkStateInformer::CONNECTING; in GetStateForDefaultNetwork()
79 return NetworkStateInformer::ONLINE; in GetStateForDefaultNetwork()
81 return NetworkStateInformer::CAPTIVE_PORTAL; in GetStateForDefaultNetwork()
83 return NetworkStateInformer::OFFLINE; in GetStateForDefaultNetwork()
[all …]
Dnetwork_state_informer.h29 class NetworkStateInformer
34 public base::RefCounted<NetworkStateInformer> {
54 NetworkStateInformer();
87 friend class base::RefCounted<NetworkStateInformer>;
89 virtual ~NetworkStateInformer();
104 base::WeakPtrFactory<NetworkStateInformer> weak_ptr_factory_;
Dapp_launch_splash_screen_handler.cc39 const scoped_refptr<NetworkStateInformer>& network_state_informer, in AppLaunchSplashScreenHandler()
134 NetworkStateInformer::State state = network_state_informer_->state(); in ShowNetworkConfigureUI()
135 if (state == NetworkStateInformer::ONLINE) { in ShowNetworkConfigureUI()
148 case NetworkStateInformer::CAPTIVE_PORTAL: { in ShowNetworkConfigureUI()
155 case NetworkStateInformer::PROXY_AUTH_REQUIRED: { in ShowNetworkConfigureUI()
160 case NetworkStateInformer::OFFLINE: { in ShowNetworkConfigureUI()
194 NetworkStateInformer::State state = network_state_informer_->state(); in UpdateState()
195 delegate_->OnNetworkStateChanged(state == NetworkStateInformer::ONLINE); in UpdateState()
Derror_screen_handler.h23 class NetworkStateInformer; variable
30 const scoped_refptr<NetworkStateInformer>& network_state_informer);
69 scoped_refptr<NetworkStateInformer> network_state_informer_;
Dapp_launch_splash_screen_handler.h23 public NetworkStateInformer::NetworkStateInformerObserver {
26 const scoped_refptr<NetworkStateInformer>& network_state_informer,
63 scoped_refptr<NetworkStateInformer> network_state_informer_;
Dgaia_screen_handler.cc83 const scoped_refptr<NetworkStateInformer>& network_state_informer) in GaiaScreenHandler()
152 NetworkStateInformer::State state = network_state_informer_->state(); in ReloadGaia()
153 if (state != NetworkStateInformer::ONLINE) { in ReloadGaia()
156 << NetworkStateInformer::StatusString(state); in ReloadGaia()
205 if (network_state_informer_->state() != NetworkStateInformer::ONLINE) in HandleFrameLoadingCompleted()
Dsignin_screen_handler.cc120 bool IsOnline(NetworkStateInformer::State state, in IsOnline()
122 return state == NetworkStateInformer::ONLINE && in IsOnline()
127 bool IsUnderCaptivePortal(NetworkStateInformer::State state, in IsUnderCaptivePortal()
129 return state == NetworkStateInformer::CAPTIVE_PORTAL || in IsUnderCaptivePortal()
133 bool IsProxyError(NetworkStateInformer::State state, in IsProxyError()
136 return state == NetworkStateInformer::PROXY_AUTH_REQUIRED || in IsProxyError()
319 const scoped_refptr<NetworkStateInformer>& network_state_informer, in SigninScreenHandler()
343 last_network_state_(NetworkStateInformer::UNKNOWN), in SigninScreenHandler()
553 NetworkStateInformer::State state = network_state_informer_->state(); in UpdateStateInternal()
560 if ((state == NetworkStateInformer::OFFLINE || has_pending_auth_ui_) && in UpdateStateInternal()
[all …]
Dgaia_screen_handler.h55 const scoped_refptr<NetworkStateInformer>& network_state_informer);
93 scoped_refptr<NetworkStateInformer> network_state_informer_;
Dsignin_screen_handler.h201 public NetworkStateInformer::NetworkStateInformerObserver,
205 const scoped_refptr<NetworkStateInformer>& network_state_informer,
259 void SetupAndShowOfflineMessage(NetworkStateInformer::State state,
261 void HideOfflineMessage(NetworkStateInformer::State state,
473 scoped_refptr<NetworkStateInformer> network_state_informer_;
496 NetworkStateInformer::State last_network_state_;
Doobe_ui.h33 class NetworkStateInformer; variable
154 scoped_refptr<NetworkStateInformer> network_state_informer_;
Derror_screen_handler.cc32 const scoped_refptr<NetworkStateInformer>& network_state_informer) in ErrorScreenHandler()
Doobe_ui.cc176 network_state_informer_ = new NetworkStateInformer(); in OobeUI()