Commit 47371106 authored by Ramin Halavati's avatar Ramin Halavati Committed by Chromium LUCI CQ

Update ProfilePickerHandler to cover ephemeral Guest profiles.

Updates ProfilePickerHandler to record ephemeral Guest profiles launch
similar to off the record Guest profiles.

Please see go/ephemeral-guest-profiles for more context.

Bug: 1125474
Change-Id: I12625f7db4addfe6f8dcd7bc05584dbf45d404c8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574755Reviewed-by: default avatarDavid Roger <droger@chromium.org>
Commit-Queue: Ramin Halavati <rhalavati@chromium.org>
Cr-Commit-Position: refs/heads/master@{#834656}
parent 6a1fcd9b
......@@ -527,7 +527,7 @@ void ProfilePickerHandler::OnSwitchToProfileComplete(
if (new_profile) {
RecordProfilePickerAction(ProfilePickerAction::kLaunchNewProfile);
} else if (profile->IsGuestSession()) {
} else if (profile->IsGuestSession() || profile->IsEphemeralGuestProfile()) {
RecordProfilePickerAction(ProfilePickerAction::kLaunchGuestProfile);
} else {
RecordProfilePickerAction(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment