OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ | 5 #ifndef MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ |
6 #define MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ | 6 #define MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ |
7 | 7 |
8 #include "base/containers/hash_tables.h" | 8 #include "base/containers/hash_tables.h" |
| 9 #include "base/macros.h" |
9 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
10 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "media/base/media_export.h" | 13 #include "media/base/media_export.h" |
13 | 14 |
14 namespace media { | 15 namespace media { |
15 | 16 |
16 // This class is used for reproduction of system sounds. All methods | 17 // This class is used for reproduction of system sounds. All methods |
17 // should be accessed from the Audio thread. | 18 // should be accessed from the Audio thread. |
18 class MEDIA_EXPORT SoundsManager : public base::NonThreadSafe { | 19 class MEDIA_EXPORT SoundsManager : public base::NonThreadSafe { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 SoundsManager(); | 55 SoundsManager(); |
55 virtual ~SoundsManager(); | 56 virtual ~SoundsManager(); |
56 | 57 |
57 private: | 58 private: |
58 DISALLOW_COPY_AND_ASSIGN(SoundsManager); | 59 DISALLOW_COPY_AND_ASSIGN(SoundsManager); |
59 }; | 60 }; |
60 | 61 |
61 } // namespace media | 62 } // namespace media |
62 | 63 |
63 #endif // MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ | 64 #endif // MEDIA_AUDIO_SOUNDS_SOUNDS_MANAGER_H_ |
OLD | NEW |