Commit bcb3c1e9 authored by Raymes Khoury's avatar Raymes Khoury Committed by Commit Bot

Add missing code for recording Google Photos launches from the launcher

Previously we weren't actually recording launches of Google Photos as we
were for other apps.

Change-Id: I39deebdf470d91cc787936d15b2f90e18303cd33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2434123Reviewed-by: default avatardstockwell <dstockwell@google.com>
Reviewed-by: default avatarNancy Wang <nancylingwang@chromium.org>
Commit-Queue: Raymes Khoury <raymes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811159}
parent dbe083ea
...@@ -222,6 +222,8 @@ void RecordAppLaunch(const std::string& app_id, ...@@ -222,6 +222,8 @@ void RecordAppLaunch(const std::string& app_id,
else if (app_id == extension_misc::kGoogleKeepAppId) else if (app_id == extension_misc::kGoogleKeepAppId)
RecordDefaultAppLaunch(DefaultAppName::kKeep, launch_source); RecordDefaultAppLaunch(DefaultAppName::kKeep, launch_source);
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
else if (app_id == extension_misc::kGooglePhotosAppId)
RecordDefaultAppLaunch(DefaultAppName::kPhotos, launch_source);
else if (app_id == arc::kPlayBooksAppId) else if (app_id == arc::kPlayBooksAppId)
RecordDefaultAppLaunch(DefaultAppName::kPlayBooks, launch_source); RecordDefaultAppLaunch(DefaultAppName::kPlayBooks, launch_source);
else if (app_id == arc::kPlayGamesAppId) else if (app_id == arc::kPlayGamesAppId)
......
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