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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
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 #ifndef MEDIA_BASE_DEMUXER_H_ 5 #ifndef MEDIA_BASE_DEMUXER_H_
6 #define MEDIA_BASE_DEMUXER_H_ 6 #define MEDIA_BASE_DEMUXER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 protected: 43 protected:
44 virtual ~DemuxerHost(); 44 virtual ~DemuxerHost();
45 }; 45 };
46 46
47 class MEDIA_EXPORT Demuxer : public DemuxerStreamProvider { 47 class MEDIA_EXPORT Demuxer : public DemuxerStreamProvider {
48 public: 48 public:
49 // A new potentially encrypted stream has been parsed. 49 // A new potentially encrypted stream has been parsed.
50 // First parameter - The type of initialization data. 50 // First parameter - The type of initialization data.
51 // Second parameter - The initialization data associated with the stream. 51 // Second parameter - The initialization data associated with the stream.
52 typedef base::Callback<void(EmeInitDataType type, 52 typedef base::Callback<void(EmeInitDataType type,
53 const std::vector<uint8>& init_data)> 53 const std::vector<uint8_t>& init_data)>
54 EncryptedMediaInitDataCB; 54 EncryptedMediaInitDataCB;
55 55
56 Demuxer(); 56 Demuxer();
57 ~Demuxer() override; 57 ~Demuxer() override;
58 58
59 // Returns the name of the demuxer for logging purpose. 59 // Returns the name of the demuxer for logging purpose.
60 virtual std::string GetDisplayName() const = 0; 60 virtual std::string GetDisplayName() const = 0;
61 61
62 // Completes initialization of the demuxer. 62 // Completes initialization of the demuxer.
63 // 63 //
(...skipping 26 matching lines...) Expand all
90 // Returns the memory usage in bytes for the demuxer. 90 // Returns the memory usage in bytes for the demuxer.
91 virtual int64_t GetMemoryUsage() const = 0; 91 virtual int64_t GetMemoryUsage() const = 0;
92 92
93 private: 93 private:
94 DISALLOW_COPY_AND_ASSIGN(Demuxer); 94 DISALLOW_COPY_AND_ASSIGN(Demuxer);
95 }; 95 };
96 96
97 } // namespace media 97 } // namespace media
98 98
99 #endif // MEDIA_BASE_DEMUXER_H_ 99 #endif // MEDIA_BASE_DEMUXER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698