Index: chrome/browser/browsing_data/browsing_data_helper.cc |
diff --git a/chrome/browser/browsing_data/browsing_data_helper.cc b/chrome/browser/browsing_data/browsing_data_helper.cc |
index 9aa633ec63b81464bf0c01b763cdcba7acce11aa..738bd9e627019a146d63bb5df21fc91533ba1bb6 100644 |
--- a/chrome/browser/browsing_data/browsing_data_helper.cc |
+++ b/chrome/browser/browsing_data/browsing_data_helper.cc |
@@ -15,14 +15,7 @@ |
// Static |
bool BrowsingDataHelper::IsWebScheme(const std::string& scheme) { |
- // Special-case `file://` scheme iff cookies and site data are enabled via |
- // the `--allow-file-cookies` CLI flag. |
- if (scheme == url::kFileScheme) { |
- return base::CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kEnableFileCookies); |
- } |
- |
- // Otherwise, all "web safe" schemes are valid, except `chrome-extension://` |
+ // All "web safe" schemes are valid, except `chrome-extension://` |
// and `chrome-devtools://`. |
content::ChildProcessSecurityPolicy* policy = |
content::ChildProcessSecurityPolicy::GetInstance(); |