OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chromecast/base/chromecast_switches.h" | 5 #include "chromecast/base/chromecast_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Enable the CMA media pipeline. | 9 // Enable the CMA media pipeline. |
10 const char kEnableCmaMediaPipeline[] = "enable-cma-media-pipeline"; | 10 const char kEnableCmaMediaPipeline[] = "enable-cma-media-pipeline"; |
11 | 11 |
12 // The bitmask of codecs (media_caps.h) supported by the current HDMI sink. | 12 // The bitmask of codecs (media_caps.h) supported by the current HDMI sink. |
13 const char kHdmiSinkSupportedCodecs[] = "hdmi-sink-supported-codecs"; | 13 const char kHdmiSinkSupportedCodecs[] = "hdmi-sink-supported-codecs"; |
14 | 14 |
15 // Enables old (VIDEO_HOLE) hole punching codepath for video plane. | |
16 // TODO(halliwell): remove switch and old codepath once overlays | |
17 // are well established. | |
18 const char kEnableLegacyHolePunching[] = "enable-legacy-hole-punching"; | |
19 | |
20 // Enable file accesses. It should not be enabled for most Cast devices. | 15 // Enable file accesses. It should not be enabled for most Cast devices. |
21 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; | 16 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; |
22 | 17 |
23 // Override the URL to which metrics logs are sent for debugging. | 18 // Override the URL to which metrics logs are sent for debugging. |
24 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; | 19 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; |
25 | 20 |
26 // Disable features that require WiFi management. | 21 // Disable features that require WiFi management. |
27 const char kNoWifi[] = "no-wifi"; | 22 const char kNoWifi[] = "no-wifi"; |
28 | 23 |
29 // Allows media playback for hidden WebContents | 24 // Allows media playback for hidden WebContents |
30 const char kAllowHiddenMediaPlayback[] = "allow-hidden-media-playback"; | 25 const char kAllowHiddenMediaPlayback[] = "allow-hidden-media-playback"; |
31 | 26 |
32 // Pass the app id information to the renderer process, to be used for logging. | 27 // Pass the app id information to the renderer process, to be used for logging. |
33 // last-launched-app should be the app that just launched and is spawning the | 28 // last-launched-app should be the app that just launched and is spawning the |
34 // renderer. | 29 // renderer. |
35 const char kLastLaunchedApp[] = "last-launched-app"; | 30 const char kLastLaunchedApp[] = "last-launched-app"; |
36 // previous-app should be the app that was running when last-launched-app | 31 // previous-app should be the app that was running when last-launched-app |
37 // started. | 32 // started. |
38 const char kPreviousApp[] = "previous-app"; | 33 const char kPreviousApp[] = "previous-app"; |
39 | 34 |
40 } // namespace switches | 35 } // namespace switches |
OLD | NEW |