Replace chrome string util with android base ones
Replaces <base/stringutils.h> with <android-base/stringutils.h>
Replaces base::StringPrintf with android::base::StringPrintf
This change is very mechanical, no change in program behavior only
library functions are being replaced.
Test: th
Change-Id: Ie5797a27ea3cdd3ff537216dc39dffeac052565e
diff --git a/common/multi_range_http_fetcher.cc b/common/multi_range_http_fetcher.cc
index b5bf923..a7d339b 100644
--- a/common/multi_range_http_fetcher.cc
+++ b/common/multi_range_http_fetcher.cc
@@ -16,7 +16,7 @@
#include "update_engine/common/multi_range_http_fetcher.h"
-#include <base/strings/stringprintf.h>
+#include <android-base/stringprintf.h>
#include <algorithm>
#include <string>
@@ -183,7 +183,7 @@
}
std::string MultiRangeHttpFetcher::Range::ToString() const {
- std::string range_str = base::StringPrintf("%jd+", offset());
+ std::string range_str = android::base::StringPrintf("%jd+", offset());
if (HasLength())
range_str += std::to_string(length());
else