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

Unified Diff: chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.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_apitest_chromeos.cc
diff --git a/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc b/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc
index ca86c43deabb5c967ac635cde4340f3c8606456a..17f4dff59ca95ddd7af640ecfcbcaa6ff2e4b0bb 100644
--- a/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc
+++ b/chrome/browser/extensions/api/file_system/file_system_apitest_chromeos.cc
@@ -265,9 +265,10 @@ class FileSystemApiTestForRequestFileSystem : public PlatformAppBrowserTest {
user_manager_enabler_.reset(
new chromeos::ScopedUserManagerEnabler(fake_user_manager_));
- const std::string kKioskLogin = "kiosk@foobar.com";
- fake_user_manager_->AddKioskAppUser(kKioskLogin);
- fake_user_manager_->LoginUser(kKioskLogin);
+ const AccountId kiosk_app_account_id =
+ AccountId::FromUserEmail("kiosk@foobar.com");
+ fake_user_manager_->AddKioskAppUser(kiosk_app_account_id);
+ fake_user_manager_->LoginUser(kiosk_app_account_id);
}
};

Powered by Google App Engine
This is Rietveld 408576698