adopt absl::string_view in logging/
Bug: webrtc:13579 Change-Id: Ibc5fa7842d52321d61cc4cdd4770635af737ddff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/267170 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37533}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
90133b3d3f
commit
277766f55e
@ -17,6 +17,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -39,7 +40,7 @@ std::string EncodeDeltas(absl::optional<uint64_t> base,
|
||||
// vector, which signals an error.
|
||||
// TODO(eladalon): Split into optional and non-optional variants (efficiency).
|
||||
std::vector<absl::optional<uint64_t>> DecodeDeltas(
|
||||
const std::string& input,
|
||||
absl::string_view input,
|
||||
absl::optional<uint64_t> base,
|
||||
size_t num_of_deltas);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user