Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1428)

Unified Diff: chrome/browser/chromeos/extensions/external_cache.cc

Issue 2650653009: Reset extension downloader when updating external extension cache (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/external_cache.cc
diff --git a/chrome/browser/chromeos/extensions/external_cache.cc b/chrome/browser/chromeos/extensions/external_cache.cc
index ec39c237d93d38ee99ba68bef93765da7546e70b..dabb3b6b40004cfac6ebc22948e5a76259e4d442 100644
--- a/chrome/browser/chromeos/extensions/external_cache.cc
+++ b/chrome/browser/chromeos/extensions/external_cache.cc
@@ -229,7 +229,7 @@ void ExternalCache::CheckCache() {
return;
// If request_context_ is missing we can't download anything.
- if (!downloader_ && request_context_.get()) {
+ if (request_context_.get()) {
downloader_ = ChromeExtensionDownloaderFactory::CreateForRequestContext(
request_context_.get(), this);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698