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

Unified Diff: chrome/browser/ui/ash/cast_config_delegate_chromeos.h

Issue 1567103005: Replace base::CallbackList with base::ObserverList in CastConfigDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Replace with ObserverList instead of base::Callback Created 4 years, 11 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: chrome/browser/ui/ash/cast_config_delegate_chromeos.h
diff --git a/chrome/browser/ui/ash/cast_config_delegate_chromeos.h b/chrome/browser/ui/ash/cast_config_delegate_chromeos.h
index 41b37704e01f22097aba421013643a5259eecc89..71e617e23671b9cdf42bceba3e5bf40a4b31e6c8 100644
--- a/chrome/browser/ui/ash/cast_config_delegate_chromeos.h
+++ b/chrome/browser/ui/ash/cast_config_delegate_chromeos.h
@@ -23,8 +23,8 @@ class CastConfigDelegateChromeos : public ash::CastConfigDelegate {
private:
// CastConfigDelegate:
bool HasCastExtension() const override;
- DeviceUpdateSubscription RegisterDeviceUpdateObserver(
- const ReceiversAndActivitesCallback& callback) override;
+ void AddObserver(ash::CastConfigDelegate::Observer* observer) override;
+ void RemoveObserver(ash::CastConfigDelegate::Observer* observer) override;
void RequestDeviceRefresh() override;
void CastToReceiver(const std::string& receiver_id) override;
void StopCasting(const std::string& activity_id) override;

Powered by Google App Engine
This is Rietveld 408576698