| 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/ui/ash/system_tray_delegate_chromeos.h" | 5 #include "chrome/browser/ui/ash/system_tray_delegate_chromeos.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "ash/common/system/date/date_default_view.h" | |
| 10 #include "ash/common/system/date/date_view.h" | 9 #include "ash/common/system/date/date_view.h" |
| 11 #include "ash/common/system/date/system_info_default_view.h" | 10 #include "ash/common/system/date/system_info_default_view.h" |
| 12 #include "ash/common/system/date/tray_date.h" | |
| 13 #include "ash/common/system/date/tray_system_info.h" | 11 #include "ash/common/system/date/tray_system_info.h" |
| 14 #include "ash/common/system/tray/system_tray.h" | 12 #include "ash/common/system/tray/system_tray.h" |
| 15 #include "ash/shell.h" | 13 #include "ash/shell.h" |
| 16 #include "base/macros.h" | 14 #include "base/macros.h" |
| 17 #include "chrome/browser/chromeos/login/login_manager_test.h" | 15 #include "chrome/browser/chromeos/login/login_manager_test.h" |
| 18 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 16 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
| 19 #include "chrome/browser/chromeos/login/startup_utils.h" | 17 #include "chrome/browser/chromeos/login/startup_utils.h" |
| 20 #include "chrome/browser/chromeos/login/ui/user_adding_screen.h" | 18 #include "chrome/browser/chromeos/login/ui/user_adding_screen.h" |
| 21 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 19 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
| 22 #include "chrome/browser/ui/browser.h" | 20 #include "chrome/browser/ui/browser.h" |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 EXPECT_EQ(base::k12HourClock, GetHourType()); | 103 EXPECT_EQ(base::k12HourClock, GetHourType()); |
| 106 | 104 |
| 107 user_manager::UserManager::Get()->SwitchActiveUser(account_id1_); | 105 user_manager::UserManager::Get()->SwitchActiveUser(account_id1_); |
| 108 // Allow clock setting to be sent to ash over mojo. | 106 // Allow clock setting to be sent to ash over mojo. |
| 109 content::RunAllPendingInMessageLoop(); | 107 content::RunAllPendingInMessageLoop(); |
| 110 CreateDefaultView(); | 108 CreateDefaultView(); |
| 111 EXPECT_EQ(base::k24HourClock, GetHourType()); | 109 EXPECT_EQ(base::k24HourClock, GetHourType()); |
| 112 } | 110 } |
| 113 | 111 |
| 114 } // namespace chromeos | 112 } // namespace chromeos |
| OLD | NEW |