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

Unified Diff: chrome/browser/browsing_data/browsing_data_helper.cc

Issue 976553002: Remove the '--enable-file-cookies' flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whole method. Created 5 years, 9 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/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();
« no previous file with comments | « no previous file | chrome/browser/history/history_browsertest.cc » ('j') | chrome/browser/history/history_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698