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

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

Issue 195813007: Remove ExtensionService::IsExternalExtensionUninstalled() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master 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: 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 2ca110d4870f54f9ea3fab9739a04a6c1757640b..96dfa6e55ded73a37e60109da515d362fb7f5c49 100644
--- a/chrome/browser/extensions/pending_extension_manager.h
+++ b/chrome/browser/extensions/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
@@ -140,6 +145,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,
« no previous file with comments | « chrome/browser/extensions/extension_sync_service.cc ('k') | chrome/browser/extensions/pending_extension_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698