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

Unified Diff: ash/audio/sounds.h

Issue 2142463002: ash: Remove media dependency from ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 4 years, 5 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 | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/audio/sounds.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/audio/sounds.h
diff --git a/ash/audio/sounds.h b/ash/audio/sounds.h
deleted file mode 100644
index 2d0f8fa976160450d94ad9072b82ab64ed47c0bc..0000000000000000000000000000000000000000
--- a/ash/audio/sounds.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_AUDIO_SOUNDS_H_
-#define ASH_AUDIO_SOUNDS_H_
-
-#include "ash/ash_export.h"
-#include "media/audio/sounds/sounds_manager.h"
-
-namespace ash {
-
-// A wrapper around media::SoundsManager::Play() method, which plays sound
-// identified by |key|. Returns true when sound is successfully played.
-ASH_EXPORT bool PlaySystemSoundAlways(media::SoundsManager::SoundKey key);
-
-// A wrapper around media::SoundsManager::Play() method, which plays
-// sound identified by |key| iff at least one of the following
-// conditions is true:
-// * ash::switches::kAshEnableSystemSounds flag is set
-// * spoken feedback is enabled
-// Returns true when sound is successfully played.
-ASH_EXPORT bool PlaySystemSoundIfSpokenFeedback(
- media::SoundsManager::SoundKey key);
-
-} // namespace ash
-
-#endif // ASH_AUDIO_SOUNDS_H_
« no previous file with comments | « ash/ash_touch_exploration_manager_chromeos.cc ('k') | ash/audio/sounds.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698