diff options
author | nbegley <nbegley@google.com> | 2015-04-09 15:37:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-09 22:38:26 +0000 |
commit | 0a93e2940da1f112af4994d3680fcc57be06a595 (patch) | |
tree | bcfe3c4e9b854305b63b70139ca5a3f1eb27c6d6 /chromecast/common | |
parent | c0b2fa5d0ad1a266234240d9fac20be93b5ca0fc (diff) | |
download | chromium_src-0a93e2940da1f112af4994d3680fcc57be06a595.zip chromium_src-0a93e2940da1f112af4994d3680fcc57be06a595.tar.gz chromium_src-0a93e2940da1f112af4994d3680fcc57be06a595.tar.bz2 |
Replace file access def checks with a switch check.
Instead of checking ANDROID_OS defininition, check the
kEnableLocalFileAccesses chromecast switch.
BUG=20032653
Review URL: https://codereview.chromium.org/1070353002
Cr-Commit-Position: refs/heads/master@{#324527}
Diffstat (limited to 'chromecast/common')
-rw-r--r-- | chromecast/common/chromecast_switches.cc | 2 | ||||
-rw-r--r-- | chromecast/common/chromecast_switches.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/chromecast/common/chromecast_switches.cc b/chromecast/common/chromecast_switches.cc index fe16627..29068ec 100644 --- a/chromecast/common/chromecast_switches.cc +++ b/chromecast/common/chromecast_switches.cc @@ -12,10 +12,8 @@ const char kEnableCmaMediaPipeline[] = "enable-cma-media-pipeline"; // The bitmask of codecs (media_caps.h) supported by the current HDMI sink. const char kHdmiSinkSupportedCodecs[] = "hdmi-sink-supported-codecs"; -#if defined(OS_ANDROID) // Enable file accesses for debug. const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; -#endif // defined(OS_ANDROID) // Override the URL to which metrics logs are sent for debugging. const char kOverrideMetricsUploadUrl[] = "override-metrics-upload-url"; diff --git a/chromecast/common/chromecast_switches.h b/chromecast/common/chromecast_switches.h index 5840d45..697a8a1 100644 --- a/chromecast/common/chromecast_switches.h +++ b/chromecast/common/chromecast_switches.h @@ -13,10 +13,8 @@ namespace switches { extern const char kEnableCmaMediaPipeline[]; extern const char kHdmiSinkSupportedCodecs[]; -#if defined(OS_ANDROID) // Content-implementation switches extern const char kEnableLocalFileAccesses[]; -#endif // defined(OS_ANDROID) // Metrics switches extern const char kOverrideMetricsUploadUrl[]; |