Index: chrome/browser/extensions/crx_installer.h |
diff --git a/chrome/browser/extensions/crx_installer.h b/chrome/browser/extensions/crx_installer.h |
index e9541dec8204defc135dbc6dfef30595eab22ef2..bf0aba9e615ba52b59b9141b83e9565391f832c2 100644 |
--- a/chrome/browser/extensions/crx_installer.h |
+++ b/chrome/browser/extensions/crx_installer.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/version.h" |
+#include "chrome/browser/extensions/app_host_installer.h" |
#include "chrome/browser/extensions/crx_installer_error.h" |
#include "chrome/browser/extensions/extension_install_prompt.h" |
#include "chrome/browser/extensions/sandboxed_unpacker.h" |
@@ -214,8 +215,15 @@ class CrxInstaller |
// that it is OK to install this extension. |
void ConfirmInstall(); |
- // Runs on File thread. Install the unpacked extension into the profile and |
- // notify the frontend. |
+ // Runs on File thread. Ensures that App Host is installed, and then |
benwells
2012/10/04 07:53:01
Nit: File -> FILE.
Nit: This function does more t
huangs
2012/10/04 22:56:42
Done. Also fixed every instance of "file thread"
|
+ // proceeds to post CompleteExtensionInstall(). |
erikwright (departed)
2012/10/04 01:28:16
CompleteInstall
huangs
2012/10/04 22:56:42
Done.
|
+ void BeginInstall(); |
+ |
+ // Callback founction for AppHostInstaller. |
erikwright (departed)
2012/10/04 01:28:16
founction
huangs
2012/10/04 22:56:42
Done.
|
+ void OnAppHostInstallation(bool success); |
+ |
benwells
2012/10/04 07:53:01
Nit: File -> FILE
huangs
2012/10/04 22:56:42
Done.
|
+ // Runs on File thread. Installs the unpacked extension into the profile and |
+ // notifies the frontend. |
void CompleteInstall(); |
// Result reporting. |
@@ -359,6 +367,9 @@ class CrxInstaller |
bool has_requirement_errors_; |
+ // Helper to install App Host. |
+ AppHostInstaller app_host_installer_; |
+ |
DISALLOW_COPY_AND_ASSIGN(CrxInstaller); |
}; |