Simply Replace libchrome StringToXXs with android base ones

Replaces StringToXXs in <base/string/string_number_conversions>
with ParseInts in <android-base/parseint.h>
This change is very mechanical, no change in program behavior.

Test: build
Bug: 360917504
Change-Id: Icc2d4fbab8c5e4a1fe0a24356e817760eec5eab3
diff --git a/common/prefs.cc b/common/prefs.cc
index 77078cf..8a727ae 100644
--- a/common/prefs.cc
+++ b/common/prefs.cc
@@ -21,6 +21,7 @@
 #include <unistd.h>
 
 #include <android-base/file.h>
+#include <android-base/parseint.h>
 #include <base/files/file_enumerator.h>
 #include <base/files/file_util.h>
 #include <base/logging.h>
@@ -79,7 +80,7 @@
                << ", got an empty value after trim";
     return false;
   }
-  if (!base::StringToInt64(str_value, value)) {
+  if (!android::base::ParseInt<int64_t>(str_value, value)) {
     LOG(ERROR) << "When reading pref " << key << ", failed to convert value "
                << str_value << " to integer";
     return false;