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

Unified Diff: chrome/browser/chromeos/file_system_provider/mount_path_util_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/chromeos/file_system_provider/mount_path_util_unittest.cc
diff --git a/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc b/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
index 1d1f838486db9b9853de00dbff77f7a6dd2432b0..9bca244fda86f934b3010e160af810037879e355 100644
--- a/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
+++ b/chrome/browser/chromeos/file_system_provider/mount_path_util_unittest.cc
@@ -70,7 +70,8 @@ class FileSystemProviderMountPathUtilTest : public testing::Test {
profile_ = profile_manager_->CreateTestingProfile("testing-profile");
user_manager_ = new FakeChromeUserManager();
user_manager_enabler_.reset(new ScopedUserManagerEnabler(user_manager_));
- user_manager_->AddUser(profile_->GetProfileUserName());
+ user_manager_->AddUser(
+ AccountId::FromUserEmail(profile_->GetProfileUserName()));
file_system_provider_service_ = Service::Get(profile_);
file_system_provider_service_->SetFileSystemFactoryForTesting(
base::Bind(&FakeProvidedFileSystem::Create));

Powered by Google App Engine
This is Rietveld 408576698