Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index bc655aa35e16422210ecc436412b6d3ddb818eef..eaba6f919624ddc8920323b19373753f3c85563b 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -838,7 +838,7 @@ Profile::ExitType TestingProfile::GetLastSessionExitType() { |
#if defined(OS_CHROMEOS) |
bool TestingProfile::IsLoginProfile() { |
- return false; |
+ return profile_path_.BaseName().value() == chrome::kInitialProfile; |
} |
#endif |