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

Side by Side Diff: media/cast/sender/frame_sender.cc

Issue 868753004: Mechanical rename of tracing includes for /media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: Created 5 years, 11 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 | « media/cast/receiver/cast_receiver_impl.cc ('k') | media/cast/sender/video_sender.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "media/cast/sender/frame_sender.h" 5 #include "media/cast/sender/frame_sender.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/trace_event/trace_event.h"
8 8
9 namespace media { 9 namespace media {
10 namespace cast { 10 namespace cast {
11 namespace { 11 namespace {
12 12
13 const int kMinSchedulingDelayMs = 1; 13 const int kMinSchedulingDelayMs = 1;
14 const int kNumAggressiveReportsSentAtStart = 100; 14 const int kNumAggressiveReportsSentAtStart = 100;
15 15
16 // The additional number of frames that can be in-flight when input exceeds the 16 // The additional number of frames that can be in-flight when input exceeds the
17 // maximum frame rate. 17 // maximum frame rate.
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 VLOG(1) << SENDER_SSRC << "Dropping: In-flight duration would be too high."; 377 VLOG(1) << SENDER_SSRC << "Dropping: In-flight duration would be too high.";
378 return true; 378 return true;
379 } 379 }
380 380
381 // Next frame is accepted. 381 // Next frame is accepted.
382 return false; 382 return false;
383 } 383 }
384 384
385 } // namespace cast 385 } // namespace cast
386 } // namespace media 386 } // namespace media
OLDNEW
« no previous file with comments | « media/cast/receiver/cast_receiver_impl.cc ('k') | media/cast/sender/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698