summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/api/display_source/display_source_session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/api/display_source/display_source_session.cc')
-rw-r--r--extensions/renderer/api/display_source/display_source_session.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/extensions/renderer/api/display_source/display_source_session.cc b/extensions/renderer/api/display_source/display_source_session.cc
index df83007..20b1442 100644
--- a/extensions/renderer/api/display_source/display_source_session.cc
+++ b/extensions/renderer/api/display_source/display_source_session.cc
@@ -22,15 +22,12 @@ DisplaySourceSession::DisplaySourceSession()
DisplaySourceSession::~DisplaySourceSession() = default;
-void DisplaySourceSession::SetCallbacks(
- const SinkIdCallback& started_callback,
- const SinkIdCallback& terminated_callback,
+void DisplaySourceSession::SetNotificationCallbacks(
+ const base::Closure& terminated_callback,
const ErrorCallback& error_callback) {
- DCHECK(started_callback_.is_null());
DCHECK(terminated_callback_.is_null());
DCHECK(error_callback_.is_null());
- started_callback_ = started_callback;
terminated_callback_ = terminated_callback;
error_callback_ = error_callback;
}