Stop using LOG macros in favor of RTC_ prefixed macros.
This CL has been generated with the following script: for m in PLOG \ LOG_TAG \ LOG_GLEM \ LOG_GLE_EX \ LOG_GLE \ LAST_SYSTEM_ERROR \ LOG_ERRNO_EX \ LOG_ERRNO \ LOG_ERR_EX \ LOG_ERR \ LOG_V \ LOG_F \ LOG_T_F \ LOG_E \ LOG_T \ LOG_CHECK_LEVEL_V \ LOG_CHECK_LEVEL \ LOG do git grep -l $m | xargs sed -i "s,\b$m\b,RTC_$m,g" done git checkout rtc_base/logging.h git cl format Bug: webrtc:8452 Change-Id: I1a53ef3e0a5ef6e244e62b2e012b864914784600 Reviewed-on: https://webrtc-review.googlesource.com/21325 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20617}
This commit is contained in:
committed by
Commit Bot
parent
34fa309129
commit
675513b96a
@ -73,7 +73,7 @@ int DtmfBuffer::ParseEvent(uint32_t rtp_timestamp,
|
||||
RTC_CHECK(payload);
|
||||
RTC_CHECK(event);
|
||||
if (payload_length_bytes < 4) {
|
||||
LOG(LS_WARNING) << "ParseEvent payload too short";
|
||||
RTC_LOG(LS_WARNING) << "ParseEvent payload too short";
|
||||
return kPayloadTooShort;
|
||||
}
|
||||
|
||||
@ -101,7 +101,7 @@ int DtmfBuffer::InsertEvent(const DtmfEvent& event) {
|
||||
if (event.event_no < 0 || event.event_no > 15 ||
|
||||
event.volume < 0 || event.volume > 63 ||
|
||||
event.duration <= 0 || event.duration > 65535) {
|
||||
LOG(LS_WARNING) << "InsertEvent invalid parameters";
|
||||
RTC_LOG(LS_WARNING) << "InsertEvent invalid parameters";
|
||||
return kInvalidEventParameters;
|
||||
}
|
||||
DtmfList::iterator it = buffer_.begin();
|
||||
|
||||
Reference in New Issue
Block a user