OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/session/chrome_session_manager.h" | 5 #include "chrome/browser/chromeos/login/session/chrome_session_manager.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/memory/ptr_util.h" |
11 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
12 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/browser_process_platform_part_chromeos.h" | 14 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
14 #include "chrome/browser/chrome_notification_types.h" | 15 #include "chrome/browser/chrome_notification_types.h" |
15 #include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h" | 16 #include "chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_manager.h" |
16 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" | 17 #include "chrome/browser/chromeos/app_mode/kiosk_app_launch_error.h" |
17 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" | 18 #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h" |
18 #include "chrome/browser/chromeos/arc/arc_service_launcher.h" | 19 #include "chrome/browser/chromeos/arc/arc_service_launcher.h" |
19 #include "chrome/browser/chromeos/boot_times_recorder.h" | 20 #include "chrome/browser/chromeos/boot_times_recorder.h" |
20 #include "chrome/browser/chromeos/idle_detector.h" | 21 #include "chrome/browser/chromeos/idle_detector.h" |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 const std::string& user_id_hash, | 250 const std::string& user_id_hash, |
250 bool browser_restart) { | 251 bool browser_restart) { |
251 BootTimesRecorder* btl = BootTimesRecorder::Get(); | 252 BootTimesRecorder* btl = BootTimesRecorder::Get(); |
252 btl->AddLoginTimeMarker("UserLoggedIn-Start", false); | 253 btl->AddLoginTimeMarker("UserLoggedIn-Start", false); |
253 session_manager::SessionManager::NotifyUserLoggedIn( | 254 session_manager::SessionManager::NotifyUserLoggedIn( |
254 user_account_id, user_id_hash, browser_restart); | 255 user_account_id, user_id_hash, browser_restart); |
255 btl->AddLoginTimeMarker("UserLoggedIn-End", false); | 256 btl->AddLoginTimeMarker("UserLoggedIn-End", false); |
256 } | 257 } |
257 | 258 |
258 } // namespace chromeos | 259 } // namespace chromeos |
OLD | NEW |