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

Side by Side Diff: media/base/media_switches.h

Issue 19925003: WIP - command line experiment Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.cc ('k') | ppapi/shared_impl/ppapi_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Defines all the "media" command-line switches. 5 // Defines all the "media" command-line switches.
6 6
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "media/base/media_export.h" 11 #include "media/base/media_export.h"
12 12
13 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES
14
15 namespace {
16 #include "media/base/media_switches.cc"
17 }
18
19 #else
20
13 namespace switches { 21 namespace switches {
14 22
15 MEDIA_EXPORT extern const char kAudioBufferSize[]; 23 MEDIA_EXPORT extern const char kAudioBufferSize[];
16 24
17 MEDIA_EXPORT extern const char kEnableEac3Playback[]; 25 MEDIA_EXPORT extern const char kEnableEac3Playback[];
18 26
19 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; 27 MEDIA_EXPORT extern const char kEnableOpusPlayback[];
20 28
21 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[]; 29 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[];
22 30
(...skipping 19 matching lines...) Expand all
42 MEDIA_EXPORT extern const char kForceWaveAudio[]; 50 MEDIA_EXPORT extern const char kForceWaveAudio[];
43 MEDIA_EXPORT extern const char kWaveOutBuffers[]; 51 MEDIA_EXPORT extern const char kWaveOutBuffers[];
44 #endif 52 #endif
45 53
46 #if defined(USE_CRAS) 54 #if defined(USE_CRAS)
47 MEDIA_EXPORT extern const char kUseCras[]; 55 MEDIA_EXPORT extern const char kUseCras[];
48 #endif 56 #endif
49 57
50 } // namespace switches 58 } // namespace switches
51 59
60 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES
52 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 61 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_switches.cc ('k') | ppapi/shared_impl/ppapi_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698