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

Unified Diff: extensions/browser/pending_extension_manager.h

Issue 195813007: Remove ExtensionService::IsExternalExtensionUninstalled() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: extensions/browser/pending_extension_manager.h
diff --git a/extensions/browser/pending_extension_manager.h b/extensions/browser/pending_extension_manager.h
index beedc059e9089cca8558c44ea7c552478ad903d4..21d5a838e28ea7f8e6611e0fec42e1d8bf627260 100644
--- a/extensions/browser/pending_extension_manager.h
+++ b/extensions/browser/pending_extension_manager.h
@@ -18,6 +18,10 @@ namespace base {
class Version;
}
+namespace content {
+class BrowserContext;
+}
+
FORWARD_DECLARE_TEST(ExtensionServiceTest,
UpdatePendingExtensionAlreadyInstalled);
@@ -43,7 +47,8 @@ class PendingExtensionManager {
// extensions we are managing. The service creates an instance of
// this class on construction, and destroys it on destruction.
// The service remains valid over the entire lifetime of this class.
- explicit PendingExtensionManager(const ExtensionServiceInterface& service);
+ explicit PendingExtensionManager(const ExtensionServiceInterface& service,
+ content::BrowserContext* context);
~PendingExtensionManager();
// TODO(skerner): Many of these methods can be private once code in
@@ -138,6 +143,9 @@ class PendingExtensionManager {
// ExtensionServiceInterface.
const ExtensionServiceInterface& service_;
+ // The BrowserContext with which the manager is associated.
+ content::BrowserContext* context_;
+
PendingExtensionList pending_extension_list_;
FRIEND_TEST_ALL_PREFIXES(::ExtensionServiceTest,

Powered by Google App Engine
This is Rietveld 408576698