Skip to content
Commit 9b3467d7 authored by Yongshun Liu's avatar Yongshun Liu Committed by Chromium LUCI CQ
Browse files

focus_mode: Move utility functions to a separate file and add tests

This moves utility functions to a separate file and adds a test. It also
makes sure that all ash code access API classes through const functions.

Bug: b/342659922
Test: YouTubeMusicUtilTest.FindBestImage
Change-Id: I0d863a6acdadb7a76dcece5280dc49ebf3bef2fc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5634751


Commit-Queue: Yongshun Liu <yongshun@chromium.org>
Reviewed-by: default avatarAlex Ilin <alexilin@chromium.org>
Reviewed-by: default avatarRichard Chui <richui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1316541}
parent cd4f6214
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment