disable-intranet-redirect-detector.patch 704 B

12345678910111213141516
  1. # Disables the intranet redirect detector. It generates extra DNS requests and the functionality using this is disabled
  2. # See this page for more information: https://mikewest.org/2012/02/chrome-connects-to-three-random-domains-at-startup
  3. --- a/chrome/browser/intranet_redirect_detector.cc
  4. +++ b/chrome/browser/intranet_redirect_detector.cc
  5. @@ -117,9 +117,7 @@ void IntranetRedirectDetector::FinishSle
  6. simple_loaders_.clear();
  7. resulting_origins_.clear();
  8. - const base::CommandLine* cmd_line = base::CommandLine::ForCurrentProcess();
  9. - if (cmd_line->HasSwitch(switches::kDisableBackgroundNetworking))
  10. - return;
  11. + return;
  12. DCHECK(simple_loaders_.empty() && resulting_origins_.empty());