OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "chrome/browser/chrome_notification_types.h" |
9 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" | 10 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi
alizer.h" |
10 #include "chrome/browser/chromeos/login/session/user_session_manager.h" | 11 #include "chrome/browser/chromeos/login/session/user_session_manager.h" |
11 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" | 12 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" |
12 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" | 13 #include "chrome/browser/chromeos/login/test/oobe_base_test.h" |
13 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" | 14 #include "chrome/browser/chromeos/login/test/oobe_screen_waiter.h" |
14 #include "chrome/browser/chromeos/login/wizard_controller.h" | 15 #include "chrome/browser/chromeos/login/wizard_controller.h" |
15 #include "chrome/browser/signin/easy_unlock_service_factory.h" | 16 #include "chrome/browser/signin/easy_unlock_service_factory.h" |
16 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
17 #include "chromeos/chromeos_switches.h" | 18 #include "chromeos/chromeos_switches.h" |
18 #include "components/proximity_auth/switches.h" | 19 #include "components/proximity_auth/switches.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 // Failed bootstrap should attempt exit and get out of this loop. | 156 // Failed bootstrap should attempt exit and get out of this loop. |
156 content::RunMessageLoop(); | 157 content::RunMessageLoop(); |
157 } | 158 } |
158 | 159 |
159 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { | 160 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { |
160 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser( | 161 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser( |
161 AccountId::FromUserEmail(kFakeUser))); | 162 AccountId::FromUserEmail(kFakeUser))); |
162 } | 163 } |
163 | 164 |
164 } // namespace chromeos | 165 } // namespace chromeos |
OLD | NEW |