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

Side by Side Diff: content/renderer/media/audio_hardware.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 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_
6 #define CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_ 6 #define CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
11 #include "media/base/channel_layout.h" 10 #include "media/base/channel_layout.h"
12 11
13 // Contains static methods to query hardware properties from the browser 12 // Contains static methods to query hardware properties from the browser
14 // process. Values are cached to avoid unnecessary round trips, but the cache 13 // process. Values are cached to avoid unnecessary round trips, but the cache
15 // can be cleared if needed (currently only used by tests). 14 // can be cleared if needed (currently only used by tests).
16 namespace audio_hardware { 15 namespace audio_hardware {
17 16
(...skipping 14 matching lines...) Expand all
32 // Must be called from RenderThreadImpl::current(). 31 // Must be called from RenderThreadImpl::current().
33 CONTENT_EXPORT ChannelLayout GetInputChannelLayout(); 32 CONTENT_EXPORT ChannelLayout GetInputChannelLayout();
34 33
35 // Forces the next call to any of the Get functions to query the hardware 34 // Forces the next call to any of the Get functions to query the hardware
36 // and repopulate the cache. 35 // and repopulate the cache.
37 CONTENT_EXPORT void ResetCache(); 36 CONTENT_EXPORT void ResetCache();
38 37
39 } // namespace audio_hardware 38 } // namespace audio_hardware
40 39
41 #endif // CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_ 40 #endif // CONTENT_RENDERER_MEDIA_AUDIO_HARDWARE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/audio_device_thread.h ('k') | content/renderer/media/audio_input_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698