diff options
author | nbegley <nbegley@google.com> | 2015-04-10 09:58:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-10 17:00:15 +0000 |
commit | c261ebf7f030b966961a04f625237ab5c02fc732 (patch) | |
tree | 8314dc0884fe4017a6468da9fef15b2f6bc50362 /chromecast | |
parent | 49ab3d8e56ccb9432a11c4e1f4daec27a9528ac6 (diff) | |
download | chromium_src-c261ebf7f030b966961a04f625237ab5c02fc732.zip chromium_src-c261ebf7f030b966961a04f625237ab5c02fc732.tar.gz chromium_src-c261ebf7f030b966961a04f625237ab5c02fc732.tar.bz2 |
Fix chromecast comments about file access switch.
BUG=
Review URL: https://codereview.chromium.org/1078893003
Cr-Commit-Position: refs/heads/master@{#324652}
Diffstat (limited to 'chromecast')
-rw-r--r-- | chromecast/browser/cast_network_delegate.cc | 1 | ||||
-rw-r--r-- | chromecast/common/chromecast_switches.cc | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/chromecast/browser/cast_network_delegate.cc b/chromecast/browser/cast_network_delegate.cc index cc3e893..51d9fd4 100644 --- a/chromecast/browser/cast_network_delegate.cc +++ b/chromecast/browser/cast_network_delegate.cc @@ -20,7 +20,6 @@ CastNetworkDelegate::~CastNetworkDelegate() { bool CastNetworkDelegate::OnCanAccessFile(const net::URLRequest& request, const base::FilePath& path) const { - // On Chromecast, there's no reason to allow local file access. if (base::CommandLine::ForCurrentProcess()-> HasSwitch(switches::kEnableLocalFileAccesses)) { return true; diff --git a/chromecast/common/chromecast_switches.cc b/chromecast/common/chromecast_switches.cc index 29068ec..435a35a 100644 --- a/chromecast/common/chromecast_switches.cc +++ b/chromecast/common/chromecast_switches.cc @@ -12,7 +12,7 @@ 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"; -// Enable file accesses for debug. +// Enable file accesses. It should not be enabled for most Cast devices. const char kEnableLocalFileAccesses[] = "enable-local-file-accesses"; // Override the URL to which metrics logs are sent for debugging. |