Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / webui / chromeos / login / app_launch_splash_screen_handler.cc
index aaf1913..1068d19 100644 (file)
@@ -178,6 +178,10 @@ void AppLaunchSplashScreenHandler::ShowNetworkConfigureUI() {
     error_screen_actor_->Show(OobeDisplay::SCREEN_APP_LAUNCH_SPLASH, NULL);
 }
 
+bool AppLaunchSplashScreenHandler::IsNetworkReady() {
+  return network_state_informer_->state() == NetworkStateInformer::ONLINE;
+}
+
 void AppLaunchSplashScreenHandler::OnNetworkReady() {
   // Purposely leave blank because the online case is handled in UpdateState
   // call below.