Commit e161e59c authored by emaxx's avatar emaxx Committed by Commit bot

Don't download extensions updates when background networking is disabled

When the "--disable-background-networking" command-line switch is
specified, extensions updates shouldn't be downloaded.

BUG=489244

Review URL: https://codereview.chromium.org/1140873004

Cr-Commit-Position: refs/heads/master@{#330388}
parent 7c94aa5c
...@@ -440,6 +440,7 @@ void ExtensionDownloader::StartUpdateCheck( ...@@ -440,6 +440,7 @@ void ExtensionDownloader::StartUpdateCheck(
NotifyExtensionsDownloadFailed(id_set, NotifyExtensionsDownloadFailed(id_set,
fetch_data->request_ids(), fetch_data->request_ids(),
ExtensionDownloaderDelegate::DISABLED); ExtensionDownloaderDelegate::DISABLED);
return;
} }
RequestQueue<ManifestFetchData>::iterator i; RequestQueue<ManifestFetchData>::iterator i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment