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

Unified Diff: components/password_manager/core/browser/psl_matching_helper.h

Issue 508143002: Remove Finch kill switch for PSL matching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: components/password_manager/core/browser/psl_matching_helper.h
diff --git a/components/password_manager/core/browser/psl_matching_helper.h b/components/password_manager/core/browser/psl_matching_helper.h
index 7213e061dcd170871d80d921911210e149082c16..6c268ab5a601275ad754c06ecc694389313d5c58 100644
--- a/components/password_manager/core/browser/psl_matching_helper.h
+++ b/components/password_manager/core/browser/psl_matching_helper.h
@@ -32,8 +32,6 @@ class PSLMatchingHelper {
PSLMatchingHelper();
~PSLMatchingHelper();
- bool IsMatchingEnabled() const;
-
// Using the public suffix list for matching the origin is only needed for
// websites that do not have a single hostname for entering credentials. It
// would be better for their users if they did, but until then we help them
@@ -58,19 +56,7 @@ class PSLMatchingHelper {
// registry-controlled domain part.
static std::string GetRegistryControlledDomain(const GURL& signon_realm);
- // This overrides both the command line flags and platform restrictions. This
- // function is not thread safe, and should be called before any other methods
- // of |PSLMatchingHelper| are called.
- static void EnablePublicSuffixDomainMatchingForTesting();
-
private:
- static bool DeterminePSLEnabled();
-
- const bool psl_enabled_;
-
- // Default is false, once set to true, overrides |psl_enabled_|.
- static bool psl_enabled_override_;
-
DISALLOW_COPY_AND_ASSIGN(PSLMatchingHelper);
};

Powered by Google App Engine
This is Rietveld 408576698