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

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

Issue 2816773002: Added switch for bypassing protected media identifier permission (Closed)
Patch Set: Added switch for bypassing permissions Created 3 years, 8 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
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 "base/feature_list.h" 10 #include "base/feature_list.h"
(...skipping 25 matching lines...) Expand all
36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; 36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[];
37 MEDIA_EXPORT extern const char kForceWaveAudio[]; 37 MEDIA_EXPORT extern const char kForceWaveAudio[];
38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; 38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[];
39 MEDIA_EXPORT extern const char kWaveOutBuffers[]; 39 MEDIA_EXPORT extern const char kWaveOutBuffers[];
40 #endif 40 #endif
41 41
42 #if defined(USE_CRAS) 42 #if defined(USE_CRAS)
43 MEDIA_EXPORT extern const char kUseCras[]; 43 MEDIA_EXPORT extern const char kUseCras[];
44 #endif 44 #endif
45 45
46 MEDIA_EXPORT extern const char
47 kDisableInfobarForProtectedMediaIdentifierForDomain[];
assareh1 2017/04/19 18:13:34 Can you also add this flag in bad_flags_bar.cc so
48
46 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) 49 #if !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
47 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[]; 50 MEDIA_EXPORT extern const char kEnableDefaultMediaSession[];
48 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS) 51 #endif // !defined(OS_ANDROID) || BUILDFLAG(ENABLE_PLUGINS)
49 52
50 #if BUILDFLAG(ENABLE_PLUGINS) 53 #if BUILDFLAG(ENABLE_PLUGINS)
51 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[]; 54 MEDIA_EXPORT extern const char kEnableDefaultMediaSessionDuckFlash[];
52 #endif // BUILDFLAG(ENABLE_PLUGINS) 55 #endif // BUILDFLAG(ENABLE_PLUGINS)
53 56
54 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION) 57 #if BUILDFLAG(ENABLE_RUNTIME_MEDIA_RENDERER_SELECTION)
55 MEDIA_EXPORT extern const char kDisableMojoRenderer[]; 58 MEDIA_EXPORT extern const char kDisableMojoRenderer[];
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; 101 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC;
99 102
100 #if defined(OS_ANDROID) 103 #if defined(OS_ANDROID)
101 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; 104 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer;
102 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; 105 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock;
103 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; 106 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense;
104 #endif // defined(OS_ANDROID) 107 #endif // defined(OS_ANDROID)
105 } // namespace media 108 } // namespace media
106 109
107 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 110 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698