Skip to content
Commit e287455f authored by minch's avatar minch Committed by Chromium LUCI CQ
Browse files

CodeHealth: Stop using Deprecated DictionaryValues methods in ash

Replaces `DictionaryValue::HasKey()` with `Value::FindKey()`
Replaces `DictionaryValue::DeepCopy()` with `Value::Clone()`
Replaces `DictionaryValue::SetBoolean()` with `Value::SetBoolKey()`
Replaces `DictionaryValue::Get()` with `Value::FindKey()`
Replaces `DictionaryValue::Set()` with `Value::SetKey()`

Removed the use of base::DictionaryValue inside shelf_prefs as well.

Bug: 1187060,1187058,1187025,1187032,1187023,1187061
Change-Id: Ia37f8d3ecefb542ab013f06220164f6e467bbd6b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3379923


Reviewed-by: default avatarXiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Min Chen <minch@chromium.org>
Cr-Commit-Position: refs/heads/main@{#958144}
parent 64bd05fb
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