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

Unified Diff: chromecast/media/base/decrypt_context_impl_clearkey.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chromecast/media/base/decrypt_context_impl_clearkey.h
diff --git a/chromecast/media/base/decrypt_context_clearkey.h b/chromecast/media/base/decrypt_context_impl_clearkey.h
similarity index 51%
rename from chromecast/media/base/decrypt_context_clearkey.h
rename to chromecast/media/base/decrypt_context_impl_clearkey.h
index a4e56d0ba25d43f6561f653af5fbe2486ae9661e..ffd0473130d2ee05422ac0fcc454e745239a5733 100644
--- a/chromecast/media/base/decrypt_context_clearkey.h
+++ b/chromecast/media/base/decrypt_context_impl_clearkey.h
@@ -2,32 +2,31 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
-#define CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
+#ifndef CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_IMPL_CLEARKEY_H_
+#define CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_IMPL_CLEARKEY_H_
#include "base/macros.h"
-#include "chromecast/media/base/decrypt_context.h"
+#include "chromecast/media/base/decrypt_context_impl.h"
namespace chromecast {
namespace media {
-class DecryptContextClearKey : public DecryptContext {
+class DecryptContextImplClearKey : public DecryptContextImpl {
public:
// Note: DecryptContextClearKey does not take ownership of |key|.
- explicit DecryptContextClearKey(crypto::SymmetricKey* key);
+ explicit DecryptContextImplClearKey(crypto::SymmetricKey* key);
+ ~DecryptContextImplClearKey() override;
// DecryptContext implementation.
crypto::SymmetricKey* GetKey() const override;
private:
- ~DecryptContextClearKey() override;
-
crypto::SymmetricKey* const key_;
- DISALLOW_COPY_AND_ASSIGN(DecryptContextClearKey);
+ DISALLOW_COPY_AND_ASSIGN(DecryptContextImplClearKey);
};
} // namespace media
} // namespace chromecast
-#endif // CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_CLEARKEY_H_
+#endif // CHROMECAST_MEDIA_BASE_DECRYPT_CONTEXT_IMPL_CLEARKEY_H_

Powered by Google App Engine
This is Rietveld 408576698