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

Unified Diff: chromeos/audio/cras_audio_handler.h

Issue 817013002: cros: Remove system-level policy for audio capture allowed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (allow-audio) rebase Created 5 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
« no previous file with comments | « chromeos/audio/audio_devices_pref_handler_stub.cc ('k') | chromeos/audio/cras_audio_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/audio/cras_audio_handler.h
diff --git a/chromeos/audio/cras_audio_handler.h b/chromeos/audio/cras_audio_handler.h
index b5a860166e05983d08465da4777b06a542607780..73b0f9fd4edf2518f5ac0d5b1df6a8562f208990 100644
--- a/chromeos/audio/cras_audio_handler.h
+++ b/chromeos/audio/cras_audio_handler.h
@@ -246,9 +246,8 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer,
void SetInputNodeGainPercent(uint64 node_id, int gain_percent);
- // Sets input mute state to |mute_on| internally, returns true if input mute
- // is set.
- bool SetInputMuteInternal(bool mute_on);
+ // Sets input mute state to |mute_on| internally.
+ void SetInputMuteInternal(bool mute_on);
// Calling dbus to get nodes data.
void GetNodes();
@@ -316,7 +315,6 @@ class CHROMEOS_EXPORT CrasAudioHandler : public CrasAudioClient::Observer,
bool has_alternative_output_;
bool output_mute_locked_;
- bool input_mute_locked_;
// Failures are not logged at startup, since CRAS may not be running yet.
bool log_errors_;
« no previous file with comments | « chromeos/audio/audio_devices_pref_handler_stub.cc ('k') | chromeos/audio/cras_audio_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698