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

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

Issue 2633663003: Implements strict secure cookies as the default behavior in //net (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.cc
diff --git a/chrome/browser/net/chrome_network_delegate.cc b/chrome/browser/net/chrome_network_delegate.cc
index 6bc5cf0e19b8a9ede4b3d83df0f62191831927e8..245d8723aa4b6434a51228195c70228ef693f878 100644
--- a/chrome/browser/net/chrome_network_delegate.cc
+++ b/chrome/browser/net/chrome_network_delegate.cc
@@ -16,7 +16,6 @@
#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "base/macros.h"
-#include "base/metrics/field_trial.h"
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.h"
#include "base/metrics/user_metrics.h"
@@ -554,14 +553,6 @@ bool ChromeNetworkDelegate::OnAreExperimentalCookieFeaturesEnabled() const {
return experimental_web_platform_features_enabled_;
}
-bool ChromeNetworkDelegate::OnAreStrictSecureCookiesEnabled() const {
- const std::string enforce_strict_secure_group =
- base::FieldTrialList::FindFullName("StrictSecureCookies");
- return experimental_web_platform_features_enabled_ ||
- base::StartsWith(enforce_strict_secure_group, "Enabled",
- base::CompareCase::INSENSITIVE_ASCII);
-}
-
bool ChromeNetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
const net::URLRequest& request,
const GURL& target_url,

Powered by Google App Engine
This is Rietveld 408576698