Add clang-tidy support for the CDM

Bug: 256230932
Change-Id: Id3fcf024cd7dcf95218876b81359d6418f5aa067
This commit is contained in:
Ian Benz
2023-04-11 20:46:08 +00:00
committed by Robert Shih
parent b7b423aca3
commit cebd90e300
37 changed files with 209 additions and 185 deletions

View File

@@ -10,10 +10,7 @@
namespace wvcdm {
namespace metrics {
using ::drm_metrics::Attributes;
using ::drm_metrics::WvCdmMetrics;
using ::google::protobuf::RepeatedPtrField;
using ::wvcdm::metrics::EventMetric;
namespace {
// Helper struct for comparing session ids.
struct CompareSessionIds {
@@ -217,7 +214,7 @@ void CryptoMetrics::Serialize(
crypto_metrics->mutable_oemcrypto_get_signature_hash_algorithm());
}
SessionMetrics::SessionMetrics() : session_id_(""), completed_(false) {}
SessionMetrics::SessionMetrics() : session_id_(), completed_(false) {}
void SessionMetrics::Serialize(
WvCdmMetrics::SessionMetrics* session_metrics) const {