| Index: chrome/browser/safe_browsing/safe_browsing_service.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/safe_browsing_service.cc (revision 58650)
|
| +++ chrome/browser/safe_browsing/safe_browsing_service.cc (working copy)
|
| @@ -364,7 +364,9 @@
|
| #endif
|
| #endif
|
| CommandLine* cmdline = CommandLine::ForCurrentProcess();
|
| - bool disable_auto_update = cmdline->HasSwitch(switches::kSbDisableAutoUpdate);
|
| + bool disable_auto_update =
|
| + cmdline->HasSwitch(switches::kSbDisableAutoUpdate) ||
|
| + cmdline->HasSwitch(switches::kDisableBackgroundNetworking);
|
| std::string info_url_prefix =
|
| cmdline->HasSwitch(switches::kSbInfoURLPrefix) ?
|
| cmdline->GetSwitchValueASCII(switches::kSbInfoURLPrefix) :
|
|
|