Replace starts_with and ends_with with Abseil

Bug: None
Change-Id: I7eae3db1aeb81f0f1d37ff50d5c85c16ecb1f366
Reviewed-on: https://webrtc-review.googlesource.com/c/114221
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26032}
diff --git a/pc/peerconnection.cc b/pc/peerconnection.cc
index 6c92816..9434b0b 100644
--- a/pc/peerconnection.cc
+++ b/pc/peerconnection.cc
@@ -49,7 +49,6 @@
 #include "rtc_base/numerics/safe_conversions.h"
 #include "rtc_base/stringencode.h"
 #include "rtc_base/strings/string_builder.h"
-#include "rtc_base/stringutils.h"
 #include "rtc_base/trace_event.h"
 #include "system_wrappers/include/clock.h"
 #include "system_wrappers/include/field_trial.h"
@@ -2225,7 +2224,7 @@
   if (data_content) {
     const cricket::DataContentDescription* data_desc =
         data_content->media_description()->as_data();
-    if (rtc::starts_with(data_desc->protocol().data(),
+    if (absl::StartsWith(data_desc->protocol(),
                          cricket::kMediaProtocolRtpPrefix)) {
       UpdateLocalRtpDataChannels(data_desc->streams());
     }
@@ -2625,7 +2624,7 @@
 
     // Update the DataChannels with the information from the remote peer.
     if (data_desc) {
-      if (rtc::starts_with(data_desc->protocol().data(),
+      if (absl::StartsWith(data_desc->protocol(),
                            cricket::kMediaProtocolRtpPrefix)) {
         UpdateRemoteRtpDataChannels(GetActiveStreams(data_desc));
       }