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

Side by Side Diff: chromecast/media/base/decrypt_context_impl_clearkey.cc

Issue 2449873005: include boringssl headers from third_party explicitly (Closed)
Patch Set: review comments Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
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 #include "chromecast/media/base/decrypt_context_impl_clearkey.h" 5 #include "chromecast/media/base/decrypt_context_impl_clearkey.h"
6 6
7 #include <openssl/aes.h>
8 #include <string.h> 7 #include <string.h>
9 8
10 #include <memory> 9 #include <memory>
11 #include <string> 10 #include <string>
12 #include <vector> 11 #include <vector>
13 12
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "chromecast/public/media/cast_decoder_buffer.h" 14 #include "chromecast/public/media/cast_decoder_buffer.h"
16 #include "chromecast/public/media/cast_decrypt_config.h" 15 #include "chromecast/public/media/cast_decrypt_config.h"
17 #include "crypto/symmetric_key.h" 16 #include "crypto/symmetric_key.h"
17 #include "third_party/boringssl/src/include/openssl/aes.h"
18 18
19 namespace chromecast { 19 namespace chromecast {
20 namespace media { 20 namespace media {
21 21
22 DecryptContextImplClearKey::DecryptContextImplClearKey( 22 DecryptContextImplClearKey::DecryptContextImplClearKey(
23 crypto::SymmetricKey* key) 23 crypto::SymmetricKey* key)
24 : DecryptContextImpl(KEY_SYSTEM_CLEAR_KEY), key_(key) { 24 : DecryptContextImpl(KEY_SYSTEM_CLEAR_KEY), key_(key) {
25 CHECK(key); 25 CHECK(key);
26 } 26 }
27 27
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 return true; 88 return true;
89 } 89 }
90 90
91 bool DecryptContextImplClearKey::CanDecryptToBuffer() const { 91 bool DecryptContextImplClearKey::CanDecryptToBuffer() const {
92 return true; 92 return true;
93 } 93 }
94 94
95 } // namespace media 95 } // namespace media
96 } // namespace chromecast 96 } // namespace chromecast
OLDNEW
« chrome/common/DEPS ('K') | « chromecast/DEPS ('k') | components/gcm_driver/crypto/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698