summaryrefslogtreecommitdiff
path: root/chromium/media/base/cdm_factory.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-16 11:45:35 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-17 08:59:23 +0000
commit552906b0f222c5d5dd11b9fd73829d510980461a (patch)
tree3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/media/base/cdm_factory.h
parent1b05827804eaf047779b597718c03e7d38344261 (diff)
downloadqtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
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);