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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_api_unittest.cc

Issue 1425093004: Revert of 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: Created 5 years, 2 months 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 62b2775b36d152bc668f537c4492d3e67d7689c8..e6df024d23bb7bd3347623d97d3757f86d2334b8 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,10 +366,8 @@
.SetBoolean("kiosk_enabled", true)
.SetBoolean("kiosk_only", true))
.Build());
- user_manager_->AddKioskAppUser(
- AccountId::FromUserEmail(auto_launch_kiosk_app->id()));
- user_manager_->LoginUser(
- AccountId::FromUserEmail(auto_launch_kiosk_app->id()));
+ user_manager_->AddKioskAppUser(auto_launch_kiosk_app->id());
+ user_manager_->LoginUser(auto_launch_kiosk_app->id());
TestingConsentProviderDelegate delegate;
delegate.SetIsAutoLaunched(true);
@@ -395,8 +393,7 @@
.SetBoolean("kiosk_enabled", true)
.SetBoolean("kiosk_only", true))
.Build());
- user_manager_->KioskAppLoggedIn(
- AccountId::FromUserEmail(manual_launch_kiosk_app->id()));
+ user_manager_->KioskAppLoggedIn(manual_launch_kiosk_app->id());
{
TestingConsentProviderDelegate delegate;
delegate.SetDialogButton(ui::DIALOG_BUTTON_OK);

Powered by Google App Engine
This is Rietveld 408576698