[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / chromecast / media / base / decrypt_context_clearkey.h
bloba4e56d0ba25d43f6561f653af5fbe2486ae9661e
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
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
6 #define CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
8 #include "base/macros.h"
9 #include "chromecast/media/base/decrypt_context.h"
11 namespace chromecast {
12 namespace media {
14 class DecryptContextClearKey : public DecryptContext {
15 public:
16 // Note: DecryptContextClearKey does not take ownership of |key|.
17 explicit DecryptContextClearKey(crypto::SymmetricKey* key);
19 // DecryptContext implementation.
20 crypto::SymmetricKey* GetKey() const override;
22 private:
23 ~DecryptContextClearKey() override;
25 crypto::SymmetricKey* const key_;
27 DISALLOW_COPY_AND_ASSIGN(DecryptContextClearKey);
30 } // namespace media
31 } // namespace chromecast
33 #endif // CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_