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

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

Issue 2873983002: Add --enable-internal-media-session to trigger the MediaSession backend. (Closed)
Patch Set: rebase Created 3 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
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/media_switches.cc » ('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 "base/feature_list.h" 10 #include "base/feature_list.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 MEDIA_EXPORT extern const char kEnableVp9InMp4[]; 80 MEDIA_EXPORT extern const char kEnableVp9InMp4[];
81 81
82 MEDIA_EXPORT extern const char kForceVideoOverlays[]; 82 MEDIA_EXPORT extern const char kForceVideoOverlays[];
83 83
84 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[]; 84 MEDIA_EXPORT extern const char kMSEAudioBufferSizeLimit[];
85 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[]; 85 MEDIA_EXPORT extern const char kMSEVideoBufferSizeLimit[];
86 86
87 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[]; 87 MEDIA_EXPORT extern const char kIgnoreAutoplayRestrictionsForTests[];
88 88
89 #if !defined(OS_ANDROID)
90 MEDIA_EXPORT extern const char kEnableInternalMediaSession[];
91 #endif // !defined(OS_ANDROID)
92
89 namespace autoplay { 93 namespace autoplay {
90 94
91 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[]; 95 MEDIA_EXPORT extern const char kNoUserGestureRequiredPolicy[];
92 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[]; 96 MEDIA_EXPORT extern const char kUserGestureRequiredPolicy[];
93 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[]; 97 MEDIA_EXPORT extern const char kUserGestureRequiredForCrossOriginPolicy[];
94 98
95 } // namespace autoplay 99 } // namespace autoplay
96 100
97 } // namespace switches 101 } // namespace switches
98 102
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 // autoplay policy. In other words, it will take into account the default policy 136 // autoplay policy. In other words, it will take into account the default policy
133 // if none is specified via the command line and options passed for testing. 137 // if none is specified via the command line and options passed for testing.
134 // Returns one of the possible autoplay policy switches from the 138 // Returns one of the possible autoplay policy switches from the
135 // switches::autoplay namespace. 139 // switches::autoplay namespace.
136 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy( 140 MEDIA_EXPORT std::string GetEffectiveAutoplayPolicy(
137 const base::CommandLine& command_line); 141 const base::CommandLine& command_line);
138 142
139 } // namespace media 143 } // namespace media
140 144
141 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ 145 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | media/base/media_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698