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

Unified Diff: content/browser/renderer_host/media/audio_renderer_host_unittest.cc

Issue 1175003004: Change audio IPC enums from kConstantStyle to MACRO_STYLE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 6 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 | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/audio_renderer_host_unittest.cc
diff --git a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
index 08fa8aa0960624d8a36891d89fe353899120e021..39867202adfdbdc928b4593d6e75d23be3744f7f 100644
--- a/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
+++ b/content/browser/renderer_host/media/audio_renderer_host_unittest.cc
@@ -129,15 +129,15 @@ class MockAudioRendererHost : public AudioRendererHost {
}
void OnNotifyStreamStateChanged(int stream_id,
- media::AudioOutputIPCDelegate::State state) {
+ media::AudioOutputIPCDelegateState state) {
switch (state) {
- case media::AudioOutputIPCDelegate::kPlaying:
+ case media::AUDIO_OUTPUT_IPC_DELEGATE_STATE_PLAYING:
OnStreamPlaying(stream_id);
break;
- case media::AudioOutputIPCDelegate::kPaused:
+ case media::AUDIO_OUTPUT_IPC_DELEGATE_STATE_PAUSED:
OnStreamPaused(stream_id);
break;
- case media::AudioOutputIPCDelegate::kError:
+ case media::AUDIO_OUTPUT_IPC_DELEGATE_STATE_ERROR:
OnStreamError(stream_id);
break;
default:
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host.cc ('k') | content/common/media/audio_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698