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

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

Issue 11411227: Garbage collect extensions only if there are no pending extension installs that could still be usin… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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.h
diff --git a/chrome/browser/extensions/pending_extension_manager.h b/chrome/browser/extensions/pending_extension_manager.h
index c9235b7195a044601c5c5d3fe87e9a28bc7fdb48..e4db9e1df4c17a6344afcda43d0724c0a61c2628 100644
--- a/chrome/browser/extensions/pending_extension_manager.h
+++ b/chrome/browser/extensions/pending_extension_manager.h
@@ -56,6 +56,9 @@ class PendingExtensionManager {
// Is |id| in the set of pending extensions?
bool IsIdPending(const std::string& id) const;
+ // Returns true if there are any extensions pending.
+ bool HasPendingExtensions() const;
+
// Whether there is pending extension install from sync.
bool HasPendingExtensionFromSync() const;

Powered by Google App Engine
This is Rietveld 408576698