| Index: media/base/decrypt_config.h
|
| diff --git a/media/base/decrypt_config.h b/media/base/decrypt_config.h
|
| index febd0fe866968a244379ef2d875656426970e06c..fe50b9f40e339c89ab61ad373d9cb6abe91d054b 100644
|
| --- a/media/base/decrypt_config.h
|
| +++ b/media/base/decrypt_config.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef MEDIA_BASE_DECRYPT_CONFIG_H_
|
| #define MEDIA_BASE_DECRYPT_CONFIG_H_
|
|
|
| +#include <iosfwd>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -56,6 +57,9 @@ class MEDIA_EXPORT DecryptConfig {
|
| // Returns true if all fields in |config| match this config.
|
| bool Matches(const DecryptConfig& config) const;
|
|
|
| + // Prints to std::ostream.
|
| + std::ostream& Print(std::ostream& os) const;
|
| +
|
| private:
|
| const std::string key_id_;
|
|
|
| @@ -71,4 +75,9 @@ class MEDIA_EXPORT DecryptConfig {
|
|
|
| } // namespace media
|
|
|
| +inline std::ostream& operator<<(std::ostream& os,
|
| + const media::DecryptConfig& obj) {
|
| + return obj.Print(os);
|
| +}
|
| +
|
| #endif // MEDIA_BASE_DECRYPT_CONFIG_H_
|
|
|