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

Side by Side Diff: content/common/gpu/media/dxva_video_decode_accelerator.cc

Issue 324773002: Remove base/memory/scoped_handle.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « chrome/utility/extensions/unpacker.cc ('k') | content/plugin/plugin_channel.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 (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 "content/common/gpu/media/dxva_video_decode_accelerator.h" 5 #include "content/common/gpu/media/dxva_video_decode_accelerator.h"
6 6
7 #if !defined(OS_WIN) 7 #if !defined(OS_WIN)
8 #error This file should only be built on Windows. 8 #error This file should only be built on Windows.
9 #endif // !defined(OS_WIN) 9 #endif // !defined(OS_WIN)
10 10
11 #include <ks.h> 11 #include <ks.h>
12 #include <codecapi.h> 12 #include <codecapi.h>
13 #include <mfapi.h> 13 #include <mfapi.h>
14 #include <mferror.h> 14 #include <mferror.h>
15 #include <wmcodecdsp.h> 15 #include <wmcodecdsp.h>
16 16
17 #include "base/bind.h" 17 #include "base/bind.h"
18 #include "base/callback.h" 18 #include "base/callback.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/debug/trace_event.h" 20 #include "base/debug/trace_event.h"
21 #include "base/logging.h" 21 #include "base/logging.h"
22 #include "base/memory/scoped_handle.h"
23 #include "base/memory/scoped_ptr.h" 22 #include "base/memory/scoped_ptr.h"
24 #include "base/memory/shared_memory.h" 23 #include "base/memory/shared_memory.h"
25 #include "base/message_loop/message_loop.h" 24 #include "base/message_loop/message_loop.h"
26 #include "base/win/windows_version.h" 25 #include "base/win/windows_version.h"
27 #include "media/video/video_decode_accelerator.h" 26 #include "media/video/video_decode_accelerator.h"
28 #include "ui/gl/gl_bindings.h" 27 #include "ui/gl/gl_bindings.h"
29 #include "ui/gl/gl_surface_egl.h" 28 #include "ui/gl/gl_surface_egl.h"
30 #include "ui/gl/gl_switches.h" 29 #include "ui/gl/gl_switches.h"
31 30
32 namespace content { 31 namespace content {
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1177 1176
1178 for (index = picture_buffers.begin(); 1177 for (index = picture_buffers.begin();
1179 index != picture_buffers.end(); 1178 index != picture_buffers.end();
1180 ++index) { 1179 ++index) {
1181 DVLOG(1) << "Dismissing picture id: " << index->second->id(); 1180 DVLOG(1) << "Dismissing picture id: " << index->second->id();
1182 client_->DismissPictureBuffer(index->second->id()); 1181 client_->DismissPictureBuffer(index->second->id());
1183 } 1182 }
1184 } 1183 }
1185 1184
1186 } // namespace content 1185 } // namespace content
OLDNEW
« no previous file with comments | « chrome/utility/extensions/unpacker.cc ('k') | content/plugin/plugin_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698