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

Side by Side Diff: media/base/pipeline_status.h

Issue 9028009: base::Bind: Remove callback_old.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually remove callback_old.h Created 8 years, 11 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 | « content/renderer/gpu/transport_texture_host.cc ('k') | media/video/video_decode_accelerator.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) 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 #ifndef MEDIA_BASE_PIPELINE_STATUS_H_ 5 #ifndef MEDIA_BASE_PIPELINE_STATUS_H_
6 #define MEDIA_BASE_PIPELINE_STATUS_H_ 6 #define MEDIA_BASE_PIPELINE_STATUS_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/callback_old.h"
10 9
11 namespace media { 10 namespace media {
12 11
13 // Status states for pipeline. All codes except PIPELINE_OK indicate errors. 12 // Status states for pipeline. All codes except PIPELINE_OK indicate errors.
14 enum PipelineStatus { 13 enum PipelineStatus {
15 PIPELINE_OK, 14 PIPELINE_OK,
16 PIPELINE_ERROR_URL_NOT_FOUND, 15 PIPELINE_ERROR_URL_NOT_FOUND,
17 PIPELINE_ERROR_NETWORK, 16 PIPELINE_ERROR_NETWORK,
18 PIPELINE_ERROR_DECODE, 17 PIPELINE_ERROR_DECODE,
19 PIPELINE_ERROR_ABORT, 18 PIPELINE_ERROR_ABORT,
(...skipping 14 matching lines...) Expand all
34 DECODER_ERROR_NOT_SUPPORTED, 33 DECODER_ERROR_NOT_SUPPORTED,
35 // DataSourceFactory errors. 34 // DataSourceFactory errors.
36 DATASOURCE_ERROR_URL_NOT_SUPPORTED, 35 DATASOURCE_ERROR_URL_NOT_SUPPORTED,
37 }; 36 };
38 37
39 typedef base::Callback<void(PipelineStatus)> PipelineStatusCB; 38 typedef base::Callback<void(PipelineStatus)> PipelineStatusCB;
40 39
41 } // namespace media 40 } // namespace media
42 41
43 #endif // MEDIA_BASE_PIPELINE_STATUS_H_ 42 #endif // MEDIA_BASE_PIPELINE_STATUS_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/transport_texture_host.cc ('k') | media/video/video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698