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

Side by Side Diff: content/renderer/media/audio_device.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 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 // Audio rendering unit utilizing audio output stream provided by browser 5 // Audio rendering unit utilizing audio output stream provided by browser
6 // process through IPC. 6 // process through IPC.
7 // 7 //
8 // Relationship of classes. 8 // Relationship of classes.
9 // 9 //
10 // AudioOutputController AudioDevice 10 // AudioOutputController AudioDevice
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 // Implementation notes: 55 // Implementation notes:
56 // 56 //
57 // - Start() is asynchronous/non-blocking. 57 // - Start() is asynchronous/non-blocking.
58 // - Stop() is asynchronous/non-blocking. 58 // - Stop() is asynchronous/non-blocking.
59 // - Play() is asynchronous/non-blocking. 59 // - Play() is asynchronous/non-blocking.
60 // - Pause() is asynchronous/non-blocking. 60 // - Pause() is asynchronous/non-blocking.
61 // - The user must call Stop() before deleting the class instance. 61 // - The user must call Stop() before deleting the class instance.
62 62
63 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_ 63 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_
64 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_ 64 #define CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_
65 #pragma once
66 65
67 #include "base/basictypes.h" 66 #include "base/basictypes.h"
68 #include "base/bind.h" 67 #include "base/bind.h"
69 #include "base/memory/scoped_ptr.h" 68 #include "base/memory/scoped_ptr.h"
70 #include "base/message_loop.h" 69 #include "base/message_loop.h"
71 #include "base/shared_memory.h" 70 #include "base/shared_memory.h"
72 #include "content/common/content_export.h" 71 #include "content/common/content_export.h"
73 #include "content/renderer/media/audio_device_thread.h" 72 #include "content/renderer/media/audio_device_thread.h"
74 #include "content/renderer/media/audio_message_filter.h" 73 #include "content/renderer/media/audio_message_filter.h"
75 #include "content/renderer/media/scoped_loop_observer.h" 74 #include "content/renderer/media/scoped_loop_observer.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // guard to control stopping and starting the audio thread. 159 // guard to control stopping and starting the audio thread.
161 base::Lock audio_thread_lock_; 160 base::Lock audio_thread_lock_;
162 AudioDeviceThread audio_thread_; 161 AudioDeviceThread audio_thread_;
163 scoped_ptr<AudioDevice::AudioThreadCallback> audio_callback_; 162 scoped_ptr<AudioDevice::AudioThreadCallback> audio_callback_;
164 163
165 164
166 DISALLOW_COPY_AND_ASSIGN(AudioDevice); 165 DISALLOW_COPY_AND_ASSIGN(AudioDevice);
167 }; 166 };
168 167
169 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_ 168 #endif // CONTENT_RENDERER_MEDIA_AUDIO_DEVICE_H_
OLDNEW
« no previous file with comments | « content/renderer/java/java_bridge_channel.h ('k') | content/renderer/media/audio_device_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698