|
@@ -60,7 +60,7 @@
|
|
|
|
|
|
bool ShouldRetryRequest(const network::SimpleURLLoader* loader) {
|
|
|
DCHECK(loader);
|
|
|
-@@ -298,12 +289,6 @@ void ExtensionDownloader::DoStartAllPend
|
|
|
+@@ -300,12 +291,6 @@ void ExtensionDownloader::DoStartAllPend
|
|
|
ReportStats();
|
|
|
url_stats_ = URLStats();
|
|
|
|
|
@@ -73,7 +73,7 @@
|
|
|
fetches_preparing_.clear();
|
|
|
}
|
|
|
|
|
|
-@@ -335,23 +320,16 @@ bool ExtensionDownloader::AddExtensionDa
|
|
|
+@@ -339,11 +324,6 @@ bool ExtensionDownloader::AddExtensionDa
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -85,6 +85,7 @@
|
|
|
// Skip extensions with empty IDs.
|
|
|
if (id.empty()) {
|
|
|
DLOG(WARNING) << "Found extension with empty ID";
|
|
|
+@@ -352,12 +332,10 @@ bool ExtensionDownloader::AddExtensionDa
|
|
|
return false;
|
|
|
}
|
|
|
|
|
@@ -99,7 +100,7 @@
|
|
|
} else {
|
|
|
url_stats_.other_url_count++;
|
|
|
}
|
|
|
-@@ -616,13 +594,9 @@ void ExtensionDownloader::OnManifestLoad
|
|
|
+@@ -639,13 +617,9 @@ void ExtensionDownloader::OnManifestLoad
|
|
|
const int error =
|
|
|
response_code == -1 ? loader->NetError() : response_code;
|
|
|
const std::string uma_histogram_name =
|
|
@@ -116,7 +117,7 @@
|
|
|
const auto& extension_ids =
|
|
|
manifests_queue_.active_request()->extension_ids();
|
|
|
for (auto it = extension_ids.begin(); it != extension_ids.end(); ++it) {
|
|
|
-@@ -680,20 +654,6 @@ void ExtensionDownloader::HandleManifest
|
|
|
+@@ -715,20 +689,6 @@ void ExtensionDownloader::HandleManifest
|
|
|
fetch_data->request_ids()));
|
|
|
}
|
|
|
|
|
@@ -134,10 +135,10 @@
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+ NotifyExtensionsDownloadStageChanged(no_updates,
|
|
|
+ ExtensionDownloaderDelegate::FINISHED);
|
|
|
NotifyExtensionsDownloadFailed(
|
|
|
- no_updates, fetch_data->request_ids(),
|
|
|
- ExtensionDownloaderDelegate::NO_UPDATE_AVAILABLE);
|
|
|
-@@ -1108,11 +1068,7 @@ bool ExtensionDownloader::IterateFetchCr
|
|
|
+@@ -1175,11 +1135,7 @@ bool ExtensionDownloader::IterateFetchCr
|
|
|
// fetch.
|
|
|
switch (fetch->credentials) {
|
|
|
case ExtensionFetch::CREDENTIALS_NONE:
|