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

Unified Diff: chrome/renderer/chrome_content_renderer_client.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/renderer/chrome_content_renderer_client.cc
diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc
index 3daf11327c4033207c387c59ca2667e16e6613e1..81ea464e735361f2add5d4797209ca5b82e79abd 100644
--- a/chrome/renderer/chrome_content_renderer_client.cc
+++ b/chrome/renderer/chrome_content_renderer_client.cc
@@ -1273,18 +1273,6 @@ bool ChromeContentRendererClient::ShouldFork(blink::WebFrame* frame,
if (http_method != "GET")
return false;
- // If this is the Signin process, fork all navigations originating from the
- // renderer. The destination page will then be bucketed back to this Signin
- // process if it is a Signin url, or to another process if not.
- if (base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kSigninProcess)) {
- // We never want to allow non-signin pages to fork-on-POST to a
- // signin-related action URL. We'll need to handle this carefully once
- // http://crbug.com/101395 is fixed. The CHECK ensures we don't forget.
- CHECK_NE(http_method, "POST");
- return true;
- }
-
// If |url| matches one of the prerendered URLs, stop this navigation and try
// to swap in the prerendered page on the browser process. If the prerendered
// page no longer exists by the time the OpenURL IPC is handled, a normal
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/renderer/extensions/renderer_permissions_policy_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698