Skip to content
Snippets Groups Projects
Commit d065f22e authored by achuith@chromium.org's avatar achuith@chromium.org
Browse files

Add /media to whitelist so it can be accessed with file:// protocol on ChromeOS.

BUG=chromium-os:3412,chromium-os:3292
TEST=On a ChromeOS device, file://media should now be accessible.

Review URL: http://codereview.chromium.org/5785002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69113 0039d316-1c4b-4281-b951-d872f2087c98
parent a711df10
No related branches found
No related tags found
No related merge requests found
...@@ -365,6 +365,7 @@ bool URLRequestFileJob::IsRedirectResponse(GURL* location, ...@@ -365,6 +365,7 @@ bool URLRequestFileJob::IsRedirectResponse(GURL* location,
#if defined(OS_CHROMEOS) #if defined(OS_CHROMEOS)
static const char* const kLocalAccessWhiteList[] = { static const char* const kLocalAccessWhiteList[] = {
"/home/chronos/user/Downloads", "/home/chronos/user/Downloads",
"/media",
"/mnt/partner_partition", "/mnt/partner_partition",
"/usr/share/chromeos-assets", "/usr/share/chromeos-assets",
"/tmp", "/tmp",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment