Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: chrome/browser/chromeos/login/app_launch_controller.cc

Issue 2935623003: Merge "cros: Move wallpaper after login screen is gone" (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/app_launch_controller.h" 5 #include "chrome/browser/chromeos/login/app_launch_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/json/json_file_value_serializer.h" 10 #include "base/json/json_file_value_serializer.h"
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 network_wait_timer_.Stop(); 322 network_wait_timer_.Stop();
323 } 323 }
324 324
325 void AppLaunchController::CleanUp() { 325 void AppLaunchController::CleanUp() {
326 ClearNetworkWaitTimer(); 326 ClearNetworkWaitTimer();
327 kiosk_profile_loader_.reset(); 327 kiosk_profile_loader_.reset();
328 startup_app_launcher_.reset(); 328 startup_app_launcher_.reset();
329 splash_wait_timer_.Stop(); 329 splash_wait_timer_.Stop();
330 330
331 if (host_) 331 if (host_)
332 host_->Finalize(); 332 host_->Finalize(base::OnceClosure());
333 } 333 }
334 334
335 void AppLaunchController::OnNetworkWaitTimedout() { 335 void AppLaunchController::OnNetworkWaitTimedout() {
336 DCHECK(waiting_for_network_); 336 DCHECK(waiting_for_network_);
337 LOG(WARNING) << "OnNetworkWaitTimedout... connection = " 337 LOG(WARNING) << "OnNetworkWaitTimedout... connection = "
338 << net::NetworkChangeNotifier::GetConnectionType(); 338 << net::NetworkChangeNotifier::GetConnectionType();
339 network_wait_timedout_ = true; 339 network_wait_timedout_ = true;
340 340
341 MaybeShowNetworkConfigureUI(); 341 MaybeShowNetworkConfigureUI();
342 342
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 KioskAppLaunchError::Save(error); 512 KioskAppLaunchError::Save(error);
513 chrome::AttemptUserExit(); 513 chrome::AttemptUserExit();
514 CleanUp(); 514 CleanUp();
515 } 515 }
516 516
517 bool AppLaunchController::IsShowingNetworkConfigScreen() { 517 bool AppLaunchController::IsShowingNetworkConfigScreen() {
518 return network_config_requested_; 518 return network_config_requested_;
519 } 519 }
520 520
521 } // namespace chromeos 521 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_session_manager_unittest.cc ('k') | chrome/browser/chromeos/login/arc_kiosk_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698