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

Unified Diff: components/arc/audio/arc_audio_bridge.cc

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 | « components/arc/arc_bridge_service_impl.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/audio/arc_audio_bridge.cc
diff --git a/components/arc/audio/arc_audio_bridge.cc b/components/arc/audio/arc_audio_bridge.cc
index 16819b4d728012abfa50f94d7b438fac1c9a4533..5026b295bdd55b0dd959b1607fb1cb738d878f39 100644
--- a/components/arc/audio/arc_audio_bridge.cc
+++ b/components/arc/audio/arc_audio_bridge.cc
@@ -50,15 +50,15 @@ void ArcAudioBridge::SendSwitchState(bool headphone_inserted,
uint32_t switch_state = 0;
if (headphone_inserted) {
switch_state |=
- (1 << static_cast<uint32_t>(AudioSwitch::SW_HEADPHONE_INSERT));
+ (1 << static_cast<uint32_t>(mojom::AudioSwitch::SW_HEADPHONE_INSERT));
}
if (microphone_inserted) {
switch_state |=
- (1 << static_cast<uint32_t>(AudioSwitch::SW_MICROPHONE_INSERT));
+ (1 << static_cast<uint32_t>(mojom::AudioSwitch::SW_MICROPHONE_INSERT));
}
VLOG(1) << "Send switch state " << switch_state;
- AudioInstance* audio_instance = arc_bridge_service()->audio_instance();
+ mojom::AudioInstance* audio_instance = arc_bridge_service()->audio_instance();
if (audio_instance)
audio_instance->NotifySwitchState(switch_state);
}
« no previous file with comments | « components/arc/arc_bridge_service_impl.cc ('k') | components/arc/bluetooth/arc_bluetooth_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698