Chromium Code Reviews| Index: chrome/browser/media/media_stream_devices_controller.h |
| diff --git a/chrome/browser/media/media_stream_devices_controller.h b/chrome/browser/media/media_stream_devices_controller.h |
| index 61f616b7ef4d75b9c3143010247beec30d638810..109e055018b8753abc870e392c1db6e3b163f211 100644 |
| --- a/chrome/browser/media/media_stream_devices_controller.h |
| +++ b/chrome/browser/media/media_stream_devices_controller.h |
| @@ -50,6 +50,13 @@ class MediaStreamDevicesController : public PermissionBubbleRequest { |
| // on the permissions if they are in the ASK state. |
| void ForcePermissionDeniedTemporarily(); |
| + // Answers a permission request with (possibly) different values for |
| + // |audio_accepted| and |video_accepted|. Intended for use from |
| + // MediaStreamInfobarDelegateAndroid. |
| + // TODO(tsergeant): Remove this by refactoring Android to use |
| + // PermissionBubbleRequest instead of a custom infobar delegate. |
| + void PermissionSplitResult(bool audio_accepted, bool video_accepted); |
|
benwells
2016/06/05 23:53:05
Nit: Can you think of a better name?
tsergeant
2016/06/06 00:38:30
I've renamed to GroupedRequestFinished. Do you thi
benwells
2016/06/06 01:10:02
Yep, much better!
|
| + |
| // PermissionBubbleRequest: |
| int GetIconId() const override; |
| base::string16 GetMessageTextFragment() const override; |