summaryrefslogtreecommitdiff
path: root/chromium/media/base/cdm_factory.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/media/base/cdm_factory.h')
-rw-r--r--chromium/media/base/cdm_factory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/media/base/cdm_factory.h b/chromium/media/base/cdm_factory.h
index 36056a4e2d5..29d764d8ae0 100644
--- a/chromium/media/base/cdm_factory.h
+++ b/chromium/media/base/cdm_factory.h
@@ -20,8 +20,8 @@ namespace media {
// Callback used when CDM is created. |error_message| only used if
// ContentDecryptionModule is null (i.e. CDM can't be created).
using CdmCreatedCB =
- base::Callback<void(const scoped_refptr<ContentDecryptionModule>&,
- const std::string& error_message)>;
+ base::OnceCallback<void(const scoped_refptr<ContentDecryptionModule>&,
+ const std::string& error_message)>;
struct CdmConfig;
@@ -40,7 +40,7 @@ class MEDIA_EXPORT CdmFactory {
const SessionClosedCB& session_closed_cb,
const SessionKeysChangeCB& session_keys_change_cb,
const SessionExpirationUpdateCB& session_expiration_update_cb,
- const CdmCreatedCB& cdm_created_cb) = 0;
+ CdmCreatedCB cdm_created_cb) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(CdmFactory);