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

Side by Side Diff: trunk/src/content/browser/renderer_host/media/audio_renderer_host.h

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 // AudioRendererHost serves audio related requests from AudioRenderer which 5 // AudioRendererHost serves audio related requests from AudioRenderer which
6 // lives inside the render process and provide access to audio hardware. 6 // lives inside the render process and provide access to audio hardware.
7 // 7 //
8 // This class is owned by BrowserRenderProcessHost, and instantiated on UI 8 // This class is owned by BrowserRenderProcessHost, and instantiated on UI
9 // thread, but all other operations and method calls happen on IO thread, so we 9 // thread, but all other operations and method calls happen on IO thread, so we
10 // need to be extra careful about the lifetime of this object. AudioManager is a 10 // need to be extra careful about the lifetime of this object. AudioManager is a
(...skipping 25 matching lines...) Expand all
36 36
37 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_ 37 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_
38 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_ 38 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_
39 39
40 #include <map> 40 #include <map>
41 41
42 #include "base/gtest_prod_util.h" 42 #include "base/gtest_prod_util.h"
43 #include "base/memory/ref_counted.h" 43 #include "base/memory/ref_counted.h"
44 #include "base/memory/scoped_ptr.h" 44 #include "base/memory/scoped_ptr.h"
45 #include "base/process.h" 45 #include "base/process.h"
46 #include "base/sequenced_task_runner_helpers.h"
46 #include "base/shared_memory.h" 47 #include "base/shared_memory.h"
47 #include "base/task/sequenced_task_runner_helpers.h"
48 #include "content/common/content_export.h" 48 #include "content/common/content_export.h"
49 #include "content/public/browser/browser_message_filter.h" 49 #include "content/public/browser/browser_message_filter.h"
50 #include "content/public/browser/browser_thread.h" 50 #include "content/public/browser/browser_thread.h"
51 #include "media/audio/audio_io.h" 51 #include "media/audio/audio_io.h"
52 #include "media/audio/audio_output_controller.h" 52 #include "media/audio/audio_output_controller.h"
53 #include "media/audio/simple_sources.h" 53 #include "media/audio/simple_sources.h"
54 54
55 namespace media { 55 namespace media {
56 class AudioManager; 56 class AudioManager;
57 class AudioParameters; 57 class AudioParameters;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // A map of stream IDs to audio sources. 146 // A map of stream IDs to audio sources.
147 AudioEntryMap audio_entries_; 147 AudioEntryMap audio_entries_;
148 148
149 DISALLOW_COPY_AND_ASSIGN(AudioRendererHost); 149 DISALLOW_COPY_AND_ASSIGN(AudioRendererHost);
150 }; 150 };
151 151
152 } // namespace content 152 } // namespace content
153 153
154 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_ 154 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_RENDERER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698