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

Side by Side Diff: chromecast/media/base/decrypt_context_clearkey.h

Issue 622853002: Chromecast: adds interfaces for hardware layer of CMA pipeline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cma-decrypt-context
Patch Set: damien comments Created 6 years, 2 months 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
« no previous file with comments | « no previous file | chromecast/media/cma/backend/audio_pipeline_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_ 5 #ifndef CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
6 #define CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_ 6 #define CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chromecast/media/base/decrypt_context.h" 9 #include "chromecast/media/base/decrypt_context.h"
10 10
11 namespace chromecast { 11 namespace chromecast {
12 namespace media { 12 namespace media {
13 13
14 class DecryptContextClearKey : public DecryptContext { 14 class DecryptContextClearKey : public DecryptContext {
15 public: 15 public:
16 // Note: DecryptContextClearKey does not take ownership of |key|. 16 // Note: DecryptContextClearKey does not take ownership of |key|.
17 explicit DecryptContextClearKey(crypto::SymmetricKey* key); 17 explicit DecryptContextClearKey(crypto::SymmetricKey* key);
18 18
19 // DecryptContext implementation. 19 // DecryptContext implementation.
20 virtual crypto::SymmetricKey* GetKey() const OVERRIDE; 20 virtual crypto::SymmetricKey* GetKey() const override;
21 21
22 private: 22 private:
23 virtual ~DecryptContextClearKey(); 23 virtual ~DecryptContextClearKey();
24 24
25 crypto::SymmetricKey* const key_; 25 crypto::SymmetricKey* const key_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(DecryptContextClearKey); 27 DISALLOW_COPY_AND_ASSIGN(DecryptContextClearKey);
28 }; 28 };
29 29
30 } // namespace media 30 } // namespace media
31 } // namespace chromecast 31 } // namespace chromecast
32 32
33 #endif // CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_ 33 #endif // CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/media/cma/backend/audio_pipeline_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698