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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_app_launcher.cc

Issue 14200033: [cros] Rename BaseLoginDisplayHost to LoginDisplayHostImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/app_mode/kiosk_app_launcher.h" 5 #include "chrome/browser/chromeos/app_mode/kiosk_app_launcher.h"
6 6
7 #include "base/chromeos/chromeos_version.h" 7 #include "base/chromeos/chromeos_version.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h" 11 #include "chrome/browser/chromeos/app_mode/startup_app_launcher.h"
12 #include "chrome/browser/chromeos/cros/cert_library.h" 12 #include "chrome/browser/chromeos/cros/cert_library.h"
13 #include "chrome/browser/chromeos/cros/cros_library.h" 13 #include "chrome/browser/chromeos/cros/cros_library.h"
14 #include "chrome/browser/chromeos/login/base_login_display_host.h" 14 #include "chrome/browser/chromeos/login/login_display_host_impl.h"
15 #include "chrome/browser/chromeos/login/login_utils.h" 15 #include "chrome/browser/chromeos/login/login_utils.h"
16 #include "chrome/browser/chromeos/login/user_manager.h" 16 #include "chrome/browser/chromeos/login/user_manager.h"
17 #include "chrome/browser/lifetime/application_lifetime.h" 17 #include "chrome/browser/lifetime/application_lifetime.h"
18 #include "chromeos/cryptohome/async_method_caller.h" 18 #include "chromeos/cryptohome/async_method_caller.h"
19 #include "chromeos/dbus/cryptohome_client.h" 19 #include "chromeos/dbus/cryptohome_client.h"
20 #include "chromeos/dbus/dbus_thread_manager.h" 20 #include "chromeos/dbus/dbus_thread_manager.h"
21 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
22 22
23 using content::BrowserThread; 23 using content::BrowserThread;
24 24
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 224 }
225 225
226 LOG(ERROR) << "Failed to remove app cryptohome, erro=" << return_code; 226 LOG(ERROR) << "Failed to remove app cryptohome, erro=" << return_code;
227 ReportLaunchResult(KioskAppLaunchError::UNABLE_TO_REMOVE); 227 ReportLaunchResult(KioskAppLaunchError::UNABLE_TO_REMOVE);
228 } 228 }
229 229
230 void KioskAppLauncher::OnProfilePrepared(Profile* profile) { 230 void KioskAppLauncher::OnProfilePrepared(Profile* profile) {
231 // StartupAppLauncher deletes itself when done. 231 // StartupAppLauncher deletes itself when done.
232 (new chromeos::StartupAppLauncher(profile, app_id_))->Start(); 232 (new chromeos::StartupAppLauncher(profile, app_id_))->Start();
233 233
234 if (BaseLoginDisplayHost::default_host()) 234 if (LoginDisplayHostImpl::default_host())
235 BaseLoginDisplayHost::default_host()->OnSessionStart(); 235 LoginDisplayHostImpl::default_host()->OnSessionStart();
236 UserManager::Get()->SessionStarted(); 236 UserManager::Get()->SessionStarted();
237 237
238 ReportLaunchResult(KioskAppLaunchError::NONE); 238 ReportLaunchResult(KioskAppLaunchError::NONE);
239 } 239 }
240 240
241 } // namespace chromeos 241 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698