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

Unified Diff: chrome/browser/profiles/profile_manager_unittest.cc

Issue 847733005: Move User Manager onto a System profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_manager_unittest.cc
diff --git a/chrome/browser/profiles/profile_manager_unittest.cc b/chrome/browser/profiles/profile_manager_unittest.cc
index c05da3b9a20af07c602e1efd2185ba752fd62f75..89238a2bb4a0ca02ebcd9377c68dde043352cc61 100644
--- a/chrome/browser/profiles/profile_manager_unittest.cc
+++ b/chrome/browser/profiles/profile_manager_unittest.cc
@@ -384,6 +384,13 @@ TEST_F(ProfileManagerTest, GetGuestProfilePath) {
EXPECT_EQ(expected_path, guest_path);
}
+TEST_F(ProfileManagerTest, GetSystemProfilePath) {
+ base::FilePath system_profile_path = ProfileManager::GetSystemProfilePath();
+ base::FilePath expected_path = temp_dir_.path();
+ expected_path = expected_path.Append(chrome::kSystemProfileDir);
+ EXPECT_EQ(expected_path, system_profile_path);
+}
+
class UnittestGuestProfileManager : public UnittestProfileManager {
public:
explicit UnittestGuestProfileManager(const base::FilePath& user_data_dir)
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698