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

Side by Side Diff: media/audio/audio_manager.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUDIO_MANAGER_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "base/task.h"
14 #include "media/audio/audio_device_name.h" 13 #include "media/audio/audio_device_name.h"
15 #include "media/audio/audio_parameters.h" 14 #include "media/audio/audio_parameters.h"
16 15
17 class AudioInputStream; 16 class AudioInputStream;
18 class AudioOutputStream; 17 class AudioOutputStream;
19 class MessageLoop; 18 class MessageLoop;
20 19
21 // Manages all audio resources. In particular it owns the AudioOutputStream 20 // Manages all audio resources. In particular it owns the AudioOutputStream
22 // objects. Provides some convenience functions that avoid the need to provide 21 // objects. Provides some convenience functions that avoid the need to provide
23 // iterators over the existing streams. 22 // iterators over the existing streams.
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 125
127 protected: 126 protected:
128 // Called from Create() to initialize the instance. 127 // Called from Create() to initialize the instance.
129 virtual void Init() = 0; 128 virtual void Init() = 0;
130 129
131 friend class base::RefCountedThreadSafe<AudioManager>; 130 friend class base::RefCountedThreadSafe<AudioManager>;
132 virtual ~AudioManager(); 131 virtual ~AudioManager();
133 }; 132 };
134 133
135 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ 134 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_
OLDNEW
« no previous file with comments | « jingle/notifier/listener/mediator_thread_impl.h ('k') | media/audio/audio_output_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698