diff options
author | Amin Hassani <ahassani@chromium.org> | 2020-11-18 14:20:56 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-24 20:54:03 +0000 |
commit | 90e9f19d47138d4e6a7aa817ac86fcc853bcd054 (patch) | |
tree | 8add9671f2659eb927e64fa974f280701144f06c /metrics_utils_unittest.cc | |
parent | 0468a76a02406851c197ba2cac663b687078a901 (diff) |
update_engine: Use PrefsInterface from SystemState
There is no need to pass the Pref class around (at least not in cros)
since we have the SystemState as the global context and we can get the
pref from there.
BUG=b:171829801
TEST=cros_workon_make --board reef --test update_engine
Change-Id: I9f5fb8a118fab2ef0e188c42f746dafb1094972c
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2548740
Tested-by: Amin Hassani <ahassani@chromium.org>
Commit-Queue: Jae Hoon Kim <kimjae@chromium.org>
Reviewed-by: Jae Hoon Kim <kimjae@chromium.org>
Diffstat (limited to 'metrics_utils_unittest.cc')
-rw-r--r-- | metrics_utils_unittest.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/metrics_utils_unittest.cc b/metrics_utils_unittest.cc index 41e4caea..93b48fbd 100644 --- a/metrics_utils_unittest.cc +++ b/metrics_utils_unittest.cc @@ -18,8 +18,6 @@ #include <gtest/gtest.h> -#include "update_engine/common/fake_prefs.h" - namespace chromeos_update_engine { namespace metrics_utils { |