OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/debug/trace_event.h" | 6 #include "base/debug/trace_event.h" |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
909 | 909 |
910 state_ = kUninitialized; | 910 state_ = kUninitialized; |
911 } | 911 } |
912 | 912 |
913 void VaapiVideoDecodeAccelerator::Destroy() { | 913 void VaapiVideoDecodeAccelerator::Destroy() { |
914 DCHECK_EQ(message_loop_, base::MessageLoop::current()); | 914 DCHECK_EQ(message_loop_, base::MessageLoop::current()); |
915 Cleanup(); | 915 Cleanup(); |
916 delete this; | 916 delete this; |
917 } | 917 } |
918 | 918 |
| 919 bool VaapiVideoDecodeAccelerator::CanDecodeOnIOThread() { |
| 920 return false; |
| 921 } |
| 922 |
919 } // namespace content | 923 } // namespace content |
OLD | NEW |