blob: 90953d73736b6ca7e5bb07b062171c4a39e4992e [file] [log] [blame] [edit]
// Copyright 2025 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/proto_extras/proto_extras_lib.h"
#include <string>
#include "base/base64.h"
#include "third_party/abseil-cpp/absl/strings/cord.h"
namespace proto_extras {
std::string Base64EncodeCord(const absl::Cord& cord) {
return base::Base64Encode(std::string(cord));
}
} // namespace proto_extras