Avoid using the Windows type SpeechRecognizerState
SpeechRecognizerState is an enum in the Windows platform API for speech so using that name for a Chrome internal type means that you get compilation errors if the platform headers and the internal headers end up in the same translation unit. In jumbo builds that could happen (and in general it can also happen) so this renames SpeechRecognizerState -> SpeechRecognizerStatus to avoid that. An alternative would be to move the enum to a different, more limited, scope. Bug: 746957 Change-Id: I479470340ea2c582480b2692424a15bc6fb4581a Reviewed-on: https://chromium-review.googlesource.com/901247Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
David Tseng <dtseng@chromium.org> Commit-Queue: Daniel Bratell <bratell@opera.com> Cr-Commit-Position: refs/heads/master@{#534709}
Showing
Please register or sign in to comment