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

Side by Side Diff: components/cdm/browser/widevine_drm_delegate_android.h

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_ 5 #ifndef COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
6 #define COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_ 6 #define COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
7 7
8 #include <stdint.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 #include "media/base/android/media_drm_bridge_delegate.h" 11 #include "media/base/android/media_drm_bridge_delegate.h"
10 12
11 namespace cdm { 13 namespace cdm {
12 14
13 class WidevineDrmDelegateAndroid : public media::MediaDrmBridgeDelegate { 15 class WidevineDrmDelegateAndroid : public media::MediaDrmBridgeDelegate {
14 public: 16 public:
15 WidevineDrmDelegateAndroid(); 17 WidevineDrmDelegateAndroid();
16 ~WidevineDrmDelegateAndroid() override; 18 ~WidevineDrmDelegateAndroid() override;
17 19
18 // media::MediaDrmBridgeDelegate implementation: 20 // media::MediaDrmBridgeDelegate implementation:
19 const std::vector<uint8_t> GetUUID() const override; 21 const std::vector<uint8_t> GetUUID() const override;
20 bool OnCreateSession( 22 bool OnCreateSession(
21 const media::EmeInitDataType init_data_type, 23 const media::EmeInitDataType init_data_type,
22 const std::vector<uint8_t>& init_data, 24 const std::vector<uint8_t>& init_data,
23 std::vector<uint8_t>* init_data_out, 25 std::vector<uint8_t>* init_data_out,
24 std::vector<std::string>* optional_parameters_out) override; 26 std::vector<std::string>* optional_parameters_out) override;
25 27
26 private: 28 private:
27 DISALLOW_COPY_AND_ASSIGN(WidevineDrmDelegateAndroid); 29 DISALLOW_COPY_AND_ASSIGN(WidevineDrmDelegateAndroid);
28 }; 30 };
29 31
30 } // namespace cdm 32 } // namespace cdm
31 33
32 #endif // COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_ 34 #endif // COMPONENTS_CDM_BROWSER_WIDEVINE_DRM_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « components/cdm/browser/cdm_message_filter_android.cc ('k') | components/cdm/browser/widevine_drm_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698