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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api_unittest.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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/file_system/file_system_api_unittest.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_api_unittest.cc b/chrome/browser/extensions/api/file_system/file_system_api_unittest.cc
index e6df024d23bb7bd3347623d97d3757f86d2334b8..62b2775b36d152bc668f537c4492d3e67d7689c8 100644
--- a/chrome/browser/extensions/api/file_system/file_system_api_unittest.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_api_unittest.cc
@@ -366,8 +366,10 @@ TEST_F(FileSystemApiConsentProviderTest, ForKioskApps) {
.SetBoolean("kiosk_enabled", true)
.SetBoolean("kiosk_only", true))
.Build());
- user_manager_->AddKioskAppUser(auto_launch_kiosk_app->id());
- user_manager_->LoginUser(auto_launch_kiosk_app->id());
+ user_manager_->AddKioskAppUser(
+ AccountId::FromUserEmail(auto_launch_kiosk_app->id()));
+ user_manager_->LoginUser(
+ AccountId::FromUserEmail(auto_launch_kiosk_app->id()));
TestingConsentProviderDelegate delegate;
delegate.SetIsAutoLaunched(true);
@@ -393,7 +395,8 @@ TEST_F(FileSystemApiConsentProviderTest, ForKioskApps) {
.SetBoolean("kiosk_enabled", true)
.SetBoolean("kiosk_only", true))
.Build());
- user_manager_->KioskAppLoggedIn(manual_launch_kiosk_app->id());
+ user_manager_->KioskAppLoggedIn(
+ AccountId::FromUserEmail(manual_launch_kiosk_app->id()));
{
TestingConsentProviderDelegate delegate;
delegate.SetDialogButton(ui::DIALOG_BUTTON_OK);

Powered by Google App Engine
This is Rietveld 408576698