Index: chrome/browser/policy/policy_helpers.cc |
diff --git a/chrome/browser/policy/policy_helpers.cc b/chrome/browser/policy/policy_helpers.cc |
index 5eb2051210a199d2e08ec671ade415e2b22414cd..a79640b76fdaa757f3f351ebb3d36c5769928318 100644 |
--- a/chrome/browser/policy/policy_helpers.cc |
+++ b/chrome/browser/policy/policy_helpers.cc |
@@ -13,7 +13,6 @@ |
#endif |
#if !defined(OS_CHROMEOS) && !defined(OS_IOS) |
-#include "components/signin/core/browser/signin_manager.h" |
#include "google_apis/gaia/gaia_urls.h" |
#endif |
@@ -38,10 +37,6 @@ bool OverrideBlacklistForURL(const GURL& url, bool* block, int* reason) { |
static const char kServiceLoginAuth[] = "/ServiceLoginAuth"; |
*block = false; |
- // Whitelist all the signin flow URLs flagged by the SigninManager. |
- if (SigninManager::IsWebBasedSigninFlowURL(url)) |
- return true; |
- |
// Additionally whitelist /ServiceLoginAuth. |
if (url.GetOrigin() != GaiaUrls::GetInstance()->gaia_url().GetOrigin()) |
return false; |