Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/SourceBuffer.cpp

Issue 2968713002: Remove all uses of LOG_DISABLED in blink (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/Assertions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 << " failed: unsupported track type " 798 << " failed: unsupported track type "
799 << track_info.track_type; 799 << track_info.track_type;
800 // TODO(servolk): Add handling of text tracks. 800 // TODO(servolk): Add handling of text tracks.
801 NOTREACHED(); 801 NOTREACHED();
802 } 802 }
803 if (first_initialization_segment_received_ && !track) { 803 if (first_initialization_segment_received_ && !track) {
804 BLINK_SBLOG << __func__ << " this=" << this 804 BLINK_SBLOG << __func__ << " this=" << this
805 << " failed: tracks mismatch the first init segment."; 805 << " failed: tracks mismatch the first init segment.";
806 return false; 806 return false;
807 } 807 }
808 #if !LOG_DISABLED 808 #if DCHECK_IS_ON()
809 const char* log_track_type_str = 809 const char* log_track_type_str =
810 (track_info.track_type == WebMediaPlayer::kAudioTrack) ? "audio" 810 (track_info.track_type == WebMediaPlayer::kAudioTrack) ? "audio"
811 : "video"; 811 : "video";
812 BLINK_SBLOG << __func__ << " this=" << this << " : " << log_track_type_str 812 BLINK_SBLOG << __func__ << " this=" << this << " : " << log_track_type_str
813 << " track " 813 << " track "
814 << " id=" << String(track_info.id) << " byteStreamTrackID=" 814 << " id=" << String(track_info.id) << " byteStreamTrackID="
815 << String(track_info.byte_stream_track_id) 815 << String(track_info.byte_stream_track_id)
816 << " kind=" << String(track_info.kind) 816 << " kind=" << String(track_info.kind)
817 << " label=" << String(track_info.label) 817 << " label=" << String(track_info.label)
818 << " language=" << String(track_info.language); 818 << " language=" << String(track_info.language);
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 visitor->Trace(async_event_queue_); 1319 visitor->Trace(async_event_queue_);
1320 visitor->Trace(append_buffer_async_part_runner_); 1320 visitor->Trace(append_buffer_async_part_runner_);
1321 visitor->Trace(remove_async_part_runner_); 1321 visitor->Trace(remove_async_part_runner_);
1322 visitor->Trace(audio_tracks_); 1322 visitor->Trace(audio_tracks_);
1323 visitor->Trace(video_tracks_); 1323 visitor->Trace(video_tracks_);
1324 EventTargetWithInlineData::Trace(visitor); 1324 EventTargetWithInlineData::Trace(visitor);
1325 SuspendableObject::Trace(visitor); 1325 SuspendableObject::Trace(visitor);
1326 } 1326 }
1327 1327
1328 } // namespace blink 1328 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/Assertions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698