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

Side by Side Diff: media/base/android/media_codec_loop.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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/audio/test_audio_input_controller_factory.h ('k') | media/base/bind_to_current_loop.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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/base/android/media_codec_loop.h" 5 #include "media/base/android/media_codec_loop.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_helpers.h" 8 #include "base/callback_helpers.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h"
10 #include "media/base/bind_to_current_loop.h" 11 #include "media/base/bind_to_current_loop.h"
11 #include "media/base/timestamp_constants.h" 12 #include "media/base/timestamp_constants.h"
12 13
13 namespace media { 14 namespace media {
14 namespace { 15 namespace {
15 16
16 constexpr base::TimeDelta kDecodePollDelay = 17 constexpr base::TimeDelta kDecodePollDelay =
17 base::TimeDelta::FromMilliseconds(10); 18 base::TimeDelta::FromMilliseconds(10);
18 constexpr base::TimeDelta kNoWaitTimeout = base::TimeDelta::FromMicroseconds(0); 19 constexpr base::TimeDelta kNoWaitTimeout = base::TimeDelta::FromMicroseconds(0);
19 constexpr base::TimeDelta kIdleTimerTimeout = base::TimeDelta::FromSeconds(1); 20 constexpr base::TimeDelta kIdleTimerTimeout = base::TimeDelta::FromSeconds(1);
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 RETURN_STRING(STATE_DRAINED); 361 RETURN_STRING(STATE_DRAINED);
361 RETURN_STRING(STATE_ERROR); 362 RETURN_STRING(STATE_ERROR);
362 } 363 }
363 #undef RETURN_STRING 364 #undef RETURN_STRING
364 365
365 NOTREACHED() << "Unknown state " << state; 366 NOTREACHED() << "Unknown state " << state;
366 return nullptr; 367 return nullptr;
367 } 368 }
368 369
369 } // namespace media 370 } // namespace media
OLDNEW
« no previous file with comments | « media/audio/test_audio_input_controller_factory.h ('k') | media/base/bind_to_current_loop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698