camera-monitor: migrate base or absl optional to std::optional

libchrome base::Optional is replaced by absl::optional on chromium
upstream and removed in r885735.
Since Chrome OS uses c++17, it can also use std::optional (as opposed to
Chrome which uses c++14). See go/use-std-optional-in-cros for
discussion.

Note, libchrome uses absl::optional because upstream chromium uses C++14
and does not have std::optional. However, absl switched to always use
std::optional implementation in crrev.com/c/2967691 so they are
equivalent.

LSC proposal: go/chromeos-lsc-optional-migration

BUG=b:192529039
TEST=FEATURES=test emerge-endeavour huddly-monitor

Change-Id: I782e6018fc5650e41d77cdada6d646770df98000
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/cfm-device-monitor/+/3531894
Tested-by: Grace Cham <hscham@chromium.org>
Reviewed-by: Joe Tessler <jrt@chromium.org>
Commit-Queue: Grace Cham <hscham@chromium.org>
1 file changed
tree: c160a3376258892f5e80a752f83699c7675e9b4d
  1. apex-monitor/
  2. camera-monitor/
  3. conf/
  4. init/
  5. mimo-monitor/
  6. BUILD.gn
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. README.md
README.md

CFM Device Monitor

Source code for CFM peripheral monitors which check the status of CFM devices and guarantee their liveness.