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

Unified Diff: chrome/browser/extensions/pending_extension_manager.cc

Issue 2790823004: Retry reinstallation of corrupted policy extensions. (Closed)
Patch Set: address comments Created 3 years, 9 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
Index: chrome/browser/extensions/pending_extension_manager.cc
diff --git a/chrome/browser/extensions/pending_extension_manager.cc b/chrome/browser/extensions/pending_extension_manager.cc
index 233f47d30cb77a6dbe31ffee2f042a64c5b3079b..8eafa143e4f0df115eb9e728f898895085165861 100644
--- a/chrome/browser/extensions/pending_extension_manager.cc
+++ b/chrome/browser/extensions/pending_extension_manager.cc
@@ -106,6 +106,10 @@ bool PendingExtensionManager::IsPolicyReinstallForCorruptionExpected(
return base::ContainsKey(expected_policy_reinstalls_, id);
}
+bool PendingExtensionManager::HasAnyPolicyReinstallForCorruption() const {
+ return !expected_policy_reinstalls_.empty();
+}
+
bool PendingExtensionManager::AddFromSync(
const std::string& id,
const GURL& update_url,
« no previous file with comments | « chrome/browser/extensions/pending_extension_manager.h ('k') | chrome/browser/extensions/policy_extension_reinstaller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698