components: Replace base::Optional and friends with absl counterparts

This replaces:
- base::Optional -> absl::optional
- include "base/optional.h"
  ->
  include "third_party/abseil-cpp/absl/types/optional.h"
- base::nullopt -> absl::nullopt
- base::make_optional -> absl::make_optional

Bug: 1202909
Change-Id: If697b7bf69b199c1796f873eedca3359cdb48c64
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2897151
Commit-Queue: Anton Bikineev <[email protected]>
Owners-Override: Anton Bikineev <[email protected]>
Reviewed-by: Peter Kasting <[email protected]>
Cr-Commit-Position: refs/heads/master@{#883296}
diff --git a/components/sqlite_proto/key_value_data_unittest.cc b/components/sqlite_proto/key_value_data_unittest.cc
index c9d1171..62effcd6 100644
--- a/components/sqlite_proto/key_value_data_unittest.cc
+++ b/components/sqlite_proto/key_value_data_unittest.cc
@@ -85,7 +85,7 @@
  public:
   KeyValueDataTest()
       : manager_(base::MakeRefCounted<FakeTableManager>()),
-        data_(manager_, &table_, base::nullopt, base::TimeDelta()) {
+        data_(manager_, &table_, absl::nullopt, base::TimeDelta()) {
     // In these tests, we're using the current thread as the DB sequence.
     data_.InitializeOnDBSequence();
   }
@@ -189,7 +189,7 @@
   // Initialization: write a table of size 2 to |manager|'s backend.
   {
     KeyValueData<TestProto, TestProtoCompare> data(
-        manager, &table, /*max_num_entries=*/base::nullopt,
+        manager, &table, /*max_num_entries=*/absl::nullopt,
         /*flush_delay=*/base::TimeDelta());
     // In these tests, we're using the current thread as the DB sequence.
     data.InitializeOnDBSequence();
@@ -219,7 +219,7 @@
 
   {
     KeyValueData<TestProto, TestProtoCompare> data(
-        manager, &table, /*max_num_entries=*/base::nullopt,
+        manager, &table, /*max_num_entries=*/absl::nullopt,
         /*flush_delay=*/base::TimeDelta());
     // In these tests, we're using the current thread as the DB sequence.
     data.InitializeOnDBSequence();