Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2460)

Unified Diff: chrome/browser/net/chrome_network_delegate.h

Issue 2654993002: Remove --allow-file-access and accompanying logic (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/chrome_network_delegate.h
diff --git a/chrome/browser/net/chrome_network_delegate.h b/chrome/browser/net/chrome_network_delegate.h
index 241cf2c9ce58307082c99ea2b29148261e5669a9..759a0e5216843c879e9e3bb1099c8b2edf67471f 100644
--- a/chrome/browser/net/chrome_network_delegate.h
+++ b/chrome/browser/net/chrome_network_delegate.h
@@ -129,10 +129,6 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
StringPrefMember* allowed_domains_for_apps,
PrefService* pref_service);
- // When called, all file:// URLs will now be accessible. If this is not
- // called, then some platforms restrict access to file:// paths.
- static void AllowAccessToAllFiles();
-
private:
// NetworkDelegate implementation.
int OnBeforeURLRequest(net::URLRequest* request,
@@ -207,9 +203,6 @@ class ChromeNetworkDelegate : public net::NetworkDelegateImpl {
std::unique_ptr<domain_reliability::DomainReliabilityMonitor>
domain_reliability_monitor_;
- // When true, allow access to all file:// URLs.
- static bool g_allow_file_access_;
-
bool experimental_web_platform_features_enabled_;
// Aggregates and reports network usage.
« no previous file with comments | « chrome/browser/chromeos/chrome_browser_main_chromeos.cc ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698