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
3 // found in the LICENSE file.
5 #include "chromecast/base/chromecast_switches.h"
9 // Enable the CMA media pipeline.
10 const char kEnableCmaMediaPipeline
[] = "enable-cma-media-pipeline";
12 // The bitmask of codecs (media_caps.h) supported by the current HDMI sink.
13 const char kHdmiSinkSupportedCodecs
[] = "hdmi-sink-supported-codecs";
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";
20 // Enable file accesses. It should not be enabled for most Cast devices.
21 const char kEnableLocalFileAccesses
[] = "enable-local-file-accesses";
23 // Override the URL to which metrics logs are sent for debugging.
24 const char kOverrideMetricsUploadUrl
[] = "override-metrics-upload-url";
26 // Disable features that require WiFi management.
27 const char kNoWifi
[] = "no-wifi";
29 // Pass the app id information to the renderer process, to be used for logging.
30 // last-launched-app should be the app that just launched and is spawning the
32 const char kLastLaunchedApp
[] = "last-launched-app";
33 // previous-app should be the app that was running when last-launched-app
35 const char kPreviousApp
[] = "previous-app";
37 } // namespace switches