| 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 a867b39c6da17c5752a9e1fe99b0522251480c2e..563bb7ba6606cd5efaad02972f6534d0dcf5c313 100644
|
| --- a/chrome/renderer/chrome_content_renderer_client.cc
|
| +++ b/chrome/renderer/chrome_content_renderer_client.cc
|
| @@ -837,6 +837,17 @@ bool ChromeContentRendererClient::ShouldFork(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 (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
|
|
|