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

Unified Diff: chrome/browser/chromeos/login/app_launch_controller.cc

Issue 205713002: Add a basic demo mode browser test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/app_launch_controller.cc
diff --git a/chrome/browser/chromeos/login/app_launch_controller.cc b/chrome/browser/chromeos/login/app_launch_controller.cc
index 7cda1fc3eb69eeecce5dbb5f1491bc5b6c0ace95..e0e2a74e4014721742f1ec3de4100aa04e44234c 100644
--- a/chrome/browser/chromeos/login/app_launch_controller.cc
+++ b/chrome/browser/chromeos/login/app_launch_controller.cc
@@ -10,6 +10,7 @@
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/json/json_file_value_serializer.h"
+#include "base/logging.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
#include "base/time/time.h"
@@ -141,8 +142,8 @@ void AppLaunchController::StartAppLaunch() {
app_launch_splash_screen_actor_->Show(app_id_);
KioskAppManager::App app;
- CHECK(KioskAppManager::Get() &&
- KioskAppManager::Get()->GetApp(app_id_, &app));
+ CHECK(KioskAppManager::Get());
+ CHECK(KioskAppManager::Get()->GetApp(app_id_, &app));
kiosk_profile_loader_.reset(
new KioskProfileLoader(app.user_id, false, this));
kiosk_profile_loader_->Start();

Powered by Google App Engine
This is Rietveld 408576698