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

Side by Side Diff: chromecast/media/cma/backend/video_decoder_default.cc

Issue 1974473002: Fix include path for moved thread_task_runner_handle.h header in chromecast/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chromecast/media/cma/backend/video_decoder_default.h" 5 #include "chromecast/media/cma/backend/video_decoder_default.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "chromecast/public/media/cast_decoder_buffer.h" 13 #include "chromecast/public/media/cast_decoder_buffer.h"
14 14
15 namespace chromecast { 15 namespace chromecast {
16 namespace media { 16 namespace media {
17 17
18 VideoDecoderDefault::VideoDecoderDefault() 18 VideoDecoderDefault::VideoDecoderDefault()
19 : delegate_(nullptr), 19 : delegate_(nullptr),
20 last_push_pts_(std::numeric_limits<int64_t>::min()), 20 last_push_pts_(std::numeric_limits<int64_t>::min()),
21 weak_factory_(this) {} 21 weak_factory_(this) {}
22 22
(...skipping 24 matching lines...) Expand all
47 bool VideoDecoderDefault::SetConfig(const VideoConfig& config) { 47 bool VideoDecoderDefault::SetConfig(const VideoConfig& config) {
48 return true; 48 return true;
49 } 49 }
50 50
51 void VideoDecoderDefault::OnEndOfStream() { 51 void VideoDecoderDefault::OnEndOfStream() {
52 delegate_->OnEndOfStream(); 52 delegate_->OnEndOfStream();
53 } 53 }
54 54
55 } // namespace media 55 } // namespace media
56 } // namespace chromecast 56 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698