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

Unified Diff: chrome/browser/policy/policy_helpers.cc

Issue 964553002: Remove support for special "sign in process" state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocl3
Patch Set: rebased 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/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;

Powered by Google App Engine
This is Rietveld 408576698