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

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

Issue 10447035: Introducing DecoderBuffer and general Buffer cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/2011/2012/ Created 8 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 | « media/base/demuxer_stream.h ('k') | media/base/stream_parser_buffer.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_MOCK_READER_H_ 5 #ifndef MEDIA_BASE_MOCK_READER_H_
6 #define MEDIA_BASE_MOCK_READER_H_ 6 #define MEDIA_BASE_MOCK_READER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Whether or not the callback was executed. 63 // Whether or not the callback was executed.
64 bool called_; 64 bool called_;
65 65
66 // Whether or not this reader was expecting a callback. 66 // Whether or not this reader was expecting a callback.
67 bool expecting_call_; 67 bool expecting_call_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(MockReader); 69 DISALLOW_COPY_AND_ASSIGN(MockReader);
70 }; 70 };
71 71
72 // Commonly used reader types. 72 // Commonly used reader types.
73 typedef MockReader<DemuxerStream, Buffer> DemuxerStreamReader; 73 typedef MockReader<DemuxerStream, DecoderBuffer> DemuxerStreamReader;
74 74
75 } // namespace media 75 } // namespace media
76 76
77 #endif // MEDIA_BASE_MOCK_READER_H_ 77 #endif // MEDIA_BASE_MOCK_READER_H_
OLDNEW
« no previous file with comments | « media/base/demuxer_stream.h ('k') | media/base/stream_parser_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698