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