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

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: rebase Created 4 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 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..572db86e8ad309fe591db0731029c570e671f0d8 100644
--- a/media/base/encryption_scheme.h
+++ b/media/base/encryption_scheme.h
@@ -42,8 +42,8 @@ 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_; }
+ uint32_t encrypt_blocks() const;
+ uint32_t skip_blocks() const;
bool IsInEffect() const;
@@ -63,9 +63,9 @@ class MEDIA_EXPORT EncryptionScheme {
bool Matches(const EncryptionScheme& other) const;
- bool is_encrypted() const { return mode_ != CIPHER_MODE_UNENCRYPTED; }
- CipherMode mode() const { return mode_; }
- const Pattern& pattern() const { return pattern_; }
+ bool is_encrypted() const;
+ CipherMode mode() const;
+ const Pattern& pattern() const;
private:
CipherMode mode_ = CIPHER_MODE_UNENCRYPTED;

Powered by Google App Engine
This is Rietveld 408576698