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) |