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

Side by Side Diff: media/video/video_decode_accelerator.h

Issue 6985009: iwyu: Use callback_old.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « media/video/omx_video_decode_engine.h ('k') | net/base/completion_callback.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 5 #ifndef MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 6 #define MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback_old.h"
12 #include "media/base/bitstream_buffer.h" 12 #include "media/base/bitstream_buffer.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/size.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 typedef Callback0::Type VideoDecodeAcceleratorCallback; 17 typedef Callback0::Type VideoDecodeAcceleratorCallback;
18 18
19 // Enumeration defining global dictionary ranges for various purposes that are 19 // Enumeration defining global dictionary ranges for various purposes that are
20 // used to handle the configurations of the video decoder. 20 // used to handle the configurations of the video decoder.
21 enum VideoAttributeKey { 21 enum VideoAttributeKey {
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // Parameters: 409 // Parameters:
410 // |callback| contains the callback function pointer. 410 // |callback| contains the callback function pointer.
411 // 411 //
412 // Returns true when command successfully accepted. Otherwise false. 412 // Returns true when command successfully accepted. Otherwise false.
413 virtual bool Abort(VideoDecodeAcceleratorCallback* callback) = 0; 413 virtual bool Abort(VideoDecodeAcceleratorCallback* callback) = 0;
414 }; 414 };
415 415
416 } // namespace media 416 } // namespace media
417 417
418 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_ 418 #endif // MEDIA_VIDEO_VIDEO_DECODE_ACCELERATOR_H_
OLDNEW
« no previous file with comments | « media/video/omx_video_decode_engine.h ('k') | net/base/completion_callback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698