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

Unified Diff: media/base/encryption_scheme.h

Issue 2058113002: Add 'cbcs' encryption scheme support in Android media. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: media/base/encryption_scheme.h
diff --git a/media/base/encryption_scheme.h b/media/base/encryption_scheme.h
index 37bea6710d264390a5b74cd920e10951ff34eba7..901a2940c43f94b3d7235da41264828fab3c13ac 100644
--- a/media/base/encryption_scheme.h
+++ b/media/base/encryption_scheme.h
@@ -42,14 +42,14 @@ class MEDIA_EXPORT EncryptionScheme {
bool Matches(const Pattern& other) const;
- uint32_t encrypt_blocks() const { return encrypt_blocks_; }
- uint32_t skip_blocks() const { return skip_blocks_; }
+ uint8_t encrypt_blocks() const { return encrypt_blocks_; }
+ uint8_t skip_blocks() const { return skip_blocks_; }
bool IsInEffect() const;
private:
- uint32_t encrypt_blocks_ = 0;
- uint32_t skip_blocks_ = 0;
+ uint8_t encrypt_blocks_ = 0;
+ uint8_t skip_blocks_ = 0;
xhwang 2016/06/15 05:29:05 OOC why do we make this change? Also, the constru
dougsteed 2016/06/15 17:57:38 Actually, I need to clean this up. I think now tha
// Allow copy and assignment.
};

Powered by Google App Engine
This is Rietveld 408576698