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

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/bootstrap_browsertest.cc

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Fix Win GN build. Created 5 years, 1 month 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
OLDNEW
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/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi alizer.h" 8 #include "chrome/browser/chromeos/login/easy_unlock/bootstrap_user_context_initi alizer.h"
9 #include "chrome/browser/chromeos/login/session/user_session_manager.h" 9 #include "chrome/browser/chromeos/login/session/user_session_manager.h"
10 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h" 10 #include "chrome/browser/chromeos/login/session/user_session_manager_test_api.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 SetTestEasyUnlockAppPath("login/easy_unlock/auto_pair_failure"); 150 SetTestEasyUnlockAppPath("login/easy_unlock/auto_pair_failure");
151 151
152 EafeLogin(); 152 EafeLogin();
153 153
154 // Failed bootstrap should attempt exit and get out of this loop. 154 // Failed bootstrap should attempt exit and get out of this loop.
155 content::RunMessageLoop(); 155 content::RunMessageLoop();
156 } 156 }
157 157
158 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) { 158 IN_PROC_BROWSER_TEST_F(BootstrapTest, CleanUpFailedUser) {
159 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser(kFakeUser)); 159 EXPECT_FALSE(user_manager::UserManager::Get()->IsKnownUser(
160 AccountId::FromUserEmail(kFakeUser)));
160 } 161 }
161 162
162 } // namespace chromeos 163 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698