Update missing absl::string_view adoption in openssl files under rtc_base/

Bug: webrtc:13579 webrtc:13870
Change-Id: Ia549285f1a60f41397c04f7bc2acdee684544ec3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256722
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Ali Tofigh <alito@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36328}
This commit is contained in:
Ali Tofigh
2022-03-25 00:51:20 +01:00
committed by WebRTC LUCI CQ
parent 48aeb965fa
commit 58d861c47f
4 changed files with 18 additions and 18 deletions

View File

@ -29,17 +29,17 @@ namespace rtc {
class OpenSSLIdentity final : public SSLIdentity {
public:
static std::unique_ptr<OpenSSLIdentity> CreateWithExpiration(
const std::string& common_name,
absl::string_view common_name,
const KeyParams& key_params,
time_t certificate_lifetime);
static std::unique_ptr<OpenSSLIdentity> CreateForTest(
const SSLIdentityParams& params);
static std::unique_ptr<SSLIdentity> CreateFromPEMStrings(
const std::string& private_key,
const std::string& certificate);
absl::string_view private_key,
absl::string_view certificate);
static std::unique_ptr<SSLIdentity> CreateFromPEMChainStrings(
const std::string& private_key,
const std::string& certificate_chain);
absl::string_view private_key,
absl::string_view certificate_chain);
~OpenSSLIdentity() override;
OpenSSLIdentity(const OpenSSLIdentity&) = delete;