From 1323542373e174731facef72b858790433588754 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Thu, 29 Sep 2016 22:50:53 +0530 Subject: [PATCH] browser: allow filesystem access for devtools scheme --- atom/browser/atom_browser_client.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atom/browser/atom_browser_client.cc b/atom/browser/atom_browser_client.cc index a01ea60f95ae..4ab09523dcb5 100644 --- a/atom/browser/atom_browser_client.cc +++ b/atom/browser/atom_browser_client.cc @@ -38,6 +38,7 @@ #include "content/public/browser/resource_dispatcher_host.h" #include "content/public/browser/site_instance.h" #include "content/public/browser/web_contents.h" +#include "content/public/common/url_constants.h" #include "content/public/common/web_preferences.h" #include "net/ssl/ssl_cert_request_info.h" #include "ppapi/host/ppapi_host.h" @@ -352,6 +353,7 @@ void AtomBrowserClient::GetAdditionalAllowedSchemesForFileSystem( additional_schemes->insert(additional_schemes->end(), schemes_list.begin(), schemes_list.end()); + additional_schemes->push_back(content::kChromeDevToolsScheme); } brightray::BrowserMainParts* AtomBrowserClient::OverrideCreateBrowserMainParts(