Chromium Code Reviews| Index: chrome/browser/ui/tabs/tab_utils.cc |
| diff --git a/chrome/browser/ui/tabs/tab_utils.cc b/chrome/browser/ui/tabs/tab_utils.cc |
| index a61996701309b28c8d94d985247a30ef396d64ae..f1d7035b7caf747bf6c38035d1e2b1c373d157a1 100644 |
| --- a/chrome/browser/ui/tabs/tab_utils.cc |
| +++ b/chrome/browser/ui/tabs/tab_utils.cc |
| @@ -252,10 +252,12 @@ bool CanToggleAudioMute(content::WebContents* contents) { |
| return false; |
| } |
| -void SetTabAudioMuted(content::WebContents* contents, bool mute) { |
| +void SetTabAudioMuted(content::WebContents* contents, |
| + bool muted, |
| + const std::string& cause) { |
| if (!contents || !chrome::CanToggleAudioMute(contents)) |
| return; |
| - contents->SetAudioMuted(mute); |
| + contents->SetAudioMuted(muted, cause); |
|
miu
2015/01/16 23:04:12
Following up on what jam said:
|
| } |
| bool IsTabAudioMuted(content::WebContents* contents) { |