Index: chrome/browser/chromeos/profiles/profile_helper.cc |
diff --git a/chrome/browser/chromeos/profiles/profile_helper.cc b/chrome/browser/chromeos/profiles/profile_helper.cc |
index ce167e6e44e1025084ea0e8be232c59052a2f962..f6aef4d691095de65c867235f2dfbfb219ab4419 100644 |
--- a/chrome/browser/chromeos/profiles/profile_helper.cc |
+++ b/chrome/browser/chromeos/profiles/profile_helper.cc |
@@ -475,6 +475,10 @@ std::string ProfileHelper::GetUserIdHashByUserIdForTesting( |
return user_id + kUserIdHashSuffix; |
} |
+void ProfileHelper::SetActiveUserIdForTesting(const std::string& user_id) { |
+ active_user_id_hash_ = GetUserIdHashByUserIdForTesting(user_id); |
+} |
+ |
void ProfileHelper::FlushProfile(Profile* profile) { |
if (!profile_flusher_) |
profile_flusher_.reset(new FileFlusher); |