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/common/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 // 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. |
16 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; | 16 const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; |
17 | 17 |
18 // Override the URL to which metrics logs are sent for debugging. | 18 // Override the URL to which metrics logs are sent for debugging. |
19 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; | 19 const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; |
20 | 20 |
21 // Disable features that require WiFi management. | 21 // Disable features that require WiFi management. |
22 const char kNoWifi[] = "no-wifi"; | 22 const char kNoWifi[] = "no-wifi"; |
23 | 23 |
24 // Pass the app id information to the renderer process, to be used for logging. | 24 // Pass the app id information to the renderer process, to be used for logging. |
25 // last-launched-app should be the app that just launched and is spawning the | 25 // last-launched-app should be the app that just launched and is spawning the |
26 // renderer. | 26 // renderer. |
27 const char kLastLaunchedApp[] = "last-launched-app"; | 27 const char kLastLaunchedApp[] = "last-launched-app"; |
28 // previous-app should be the app that was running when last-launched-app | 28 // previous-app should be the app that was running when last-launched-app |
29 // started. | 29 // started. |
30 const char kPreviousApp[] = "previous-app"; | 30 const char kPreviousApp[] = "previous-app"; |
31 | 31 |
32 } // namespace switches | 32 } // namespace switches |
OLD | NEW |