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

Side by Side Diff: media/cdm/ppapi/external_clear_key/cdm_video_decoder.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 5 #ifndef MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 6 #define MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
10 #include "media/cdm/api/content_decryption_module.h" 9 #include "media/cdm/api/content_decryption_module.h"
11 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h" 10 #include "media/cdm/ppapi/external_clear_key/clear_key_cdm_common.h"
12 11
13 namespace media { 12 namespace media {
14 13
15 class CdmVideoDecoder { 14 class CdmVideoDecoder {
16 public: 15 public:
17 virtual ~CdmVideoDecoder() {} 16 virtual ~CdmVideoDecoder() {}
18 virtual bool Initialize(const cdm::VideoDecoderConfig& config) = 0; 17 virtual bool Initialize(const cdm::VideoDecoderConfig& config) = 0;
(...skipping 16 matching lines...) Expand all
35 34
36 // Initializes appropriate video decoder based on GYP flags and the value of 35 // Initializes appropriate video decoder based on GYP flags and the value of
37 // |config.codec|. Returns a scoped_ptr containing a non-null initialized 36 // |config.codec|. Returns a scoped_ptr containing a non-null initialized
38 // CdmVideoDecoder* upon success. 37 // CdmVideoDecoder* upon success.
39 scoped_ptr<CdmVideoDecoder> CreateVideoDecoder( 38 scoped_ptr<CdmVideoDecoder> CreateVideoDecoder(
40 ClearKeyCdmHost* host, const cdm::VideoDecoderConfig& config); 39 ClearKeyCdmHost* host, const cdm::VideoDecoderConfig& config);
41 40
42 } // namespace media 41 } // namespace media
43 42
44 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_ 43 #endif // MEDIA_CDM_PPAPI_EXTERNAL_CLEAR_KEY_CDM_VIDEO_DECODER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698