| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ | 5 #ifndef MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ |
| 6 #define MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ | 6 #define MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ |
| 7 | 7 |
| 8 // Helper class to handle encryption for the Cast Transport library. | 8 // Helper class to handle encryption for the Cast Transport library. |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/strings/string_piece.h" | 13 #include "base/strings/string_piece.h" |
| 13 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
| 14 | 15 |
| 15 namespace crypto { | 16 namespace crypto { |
| 16 class Encryptor; | 17 class Encryptor; |
| 17 class SymmetricKey; | 18 class SymmetricKey; |
| 18 } | 19 } |
| 19 | 20 |
| 20 namespace media { | 21 namespace media { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 43 std::string iv_mask_; | 44 std::string iv_mask_; |
| 44 bool is_activated_; | 45 bool is_activated_; |
| 45 | 46 |
| 46 DISALLOW_COPY_AND_ASSIGN(TransportEncryptionHandler); | 47 DISALLOW_COPY_AND_ASSIGN(TransportEncryptionHandler); |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 } // namespace cast | 50 } // namespace cast |
| 50 } // namespace media | 51 } // namespace media |
| 51 | 52 |
| 52 #endif // MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ | 53 #endif // MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ |
| OLD | NEW |