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

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

Issue 11054006: Make application shortcuts point to app_host.exe, install App Host during app installation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moving quick-enable-app-host feature; adding App Host install code for unpacked extension installer. Created 8 years, 2 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 6b48857aecdb039279a992d392c49f8c72063755..ab73ad32459f3e19ec791813ee38039b0cd531b0 100644
--- a/chrome/browser/extensions/unpacked_installer.h
+++ b/chrome/browser/extensions/unpacked_installer.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
+#include "chrome/browser/extensions/app_host_installer.h"
class ExtensionService;
@@ -87,6 +88,11 @@ class UnpackedInstaller
// Called when an unpacked extension has been loaded and installed.
void OnLoaded();
+ // Callback founction for AppHostInstaller.
erikwright (departed) 2012/10/03 20:57:07 founction
huangs 2012/10/04 00:53:14 Done (oops).
+ void OnAppHostInstallation(bool success);
+
+ void CompleteInstall();
+
// Helper to get the Extension::CreateFlags for the installing extension.
int GetFlags();
@@ -108,6 +114,9 @@ class UnpackedInstaller
// version.
bool require_modern_manifest_version_;
+ // Helper to install App Host.
+ AppHostInstaller app_host_installer_;
+
DISALLOW_COPY_AND_ASSIGN(UnpackedInstaller);
};

Powered by Google App Engine
This is Rietveld 408576698