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

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

Issue 2740853002: Use PreloadCheckGroup in ExtensionInstallChecker. Make RequirementsChecker a PreloadCheck. (Closed)
Patch Set: 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/unpacked_installer.h
diff --git a/chrome/browser/extensions/unpacked_installer.h b/chrome/browser/extensions/unpacked_installer.h
index c0416a20bdfaf4d064afbfc91cdb926ca3e98aed..2eeedb540d3d7b2a5cb37f19177285344e823b70 100644
--- a/chrome/browser/extensions/unpacked_installer.h
+++ b/chrome/browser/extensions/unpacked_installer.h
@@ -117,8 +117,6 @@ class UnpackedInstaller
// Helper to get the Extension::CreateFlags for the installing extension.
int GetFlags();
- const Extension* extension() { return install_checker_.extension().get(); }
-
// The service we will report results back to.
base::WeakPtr<ExtensionService> service_weak_;
@@ -126,6 +124,9 @@ class UnpackedInstaller
// after GetAbsolutePath has been called.
base::FilePath extension_path_;
+ // The extension being installed.
+ scoped_refptr<const Extension> extension_;
+
// If true and the extension contains plugins, we prompt the user before
// loading.
bool prompt_for_plugins_;
« no previous file with comments | « chrome/browser/extensions/requirements_checker_browsertest.cc ('k') | chrome/browser/extensions/unpacked_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698