| 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 |
| 10 #include <stdint.h> |
| 11 |
| 9 #include <string> | 12 #include <string> |
| 10 | 13 |
| 11 #include "base/macros.h" | 14 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
| 14 #include "base/threading/non_thread_safe.h" | 17 #include "base/threading/non_thread_safe.h" |
| 15 | 18 |
| 16 namespace crypto { | 19 namespace crypto { |
| 17 class Encryptor; | 20 class Encryptor; |
| 18 class SymmetricKey; | 21 class SymmetricKey; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 44 std::string iv_mask_; | 47 std::string iv_mask_; |
| 45 bool is_activated_; | 48 bool is_activated_; |
| 46 | 49 |
| 47 DISALLOW_COPY_AND_ASSIGN(TransportEncryptionHandler); | 50 DISALLOW_COPY_AND_ASSIGN(TransportEncryptionHandler); |
| 48 }; | 51 }; |
| 49 | 52 |
| 50 } // namespace cast | 53 } // namespace cast |
| 51 } // namespace media | 54 } // namespace media |
| 52 | 55 |
| 53 #endif // MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ | 56 #endif // MEDIA_CAST_COMMON_TRANSPORT_ENCRYPTION_HANDLER_H_ |
| OLD | NEW |