| Index: chrome/browser/media/router/media_router.h
|
| diff --git a/chrome/browser/media/router/media_router.h b/chrome/browser/media/router/media_router.h
|
| index 0a335654b0f7566eb83ce3132d173a7ea675128f..cbf5404404e5f9e888e622f9984055255be138fb 100644
|
| --- a/chrome/browser/media/router/media_router.h
|
| +++ b/chrome/browser/media/router/media_router.h
|
| @@ -133,7 +133,9 @@ class MediaRouter : public KeyedService {
|
| // in undefined behavior.
|
| // If the MRPM Host is not available, the registration request will fail
|
| // immediately.
|
| - virtual void RegisterMediaSinksObserver(MediaSinksObserver* observer) = 0;
|
| + // The implementation can reject the request to observe in which case it will
|
| + // notify the caller by returning |false|.
|
| + virtual bool RegisterMediaSinksObserver(MediaSinksObserver* observer) = 0;
|
|
|
| // Removes a previously added MediaSinksObserver. |observer| will stop
|
| // receiving further updates.
|
|
|