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

Side by Side Diff: chrome/browser/extensions/app_host_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: Now installing App Host in AppShortcutManager, instead of CrxInstaller / UnpackedInstaller. Created 8 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_HOST_INSTALLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_HOST_INSTALLER_H_
7
8 #include "base/callback_forward.h"
9
10 namespace extensions {
11
12 class Extension;
13
14 namespace app_host_installer {
15
16 // Called on the original calling thread after InstallAppHostIfNecessary()
17 // is complete. A boolean flag is passed, which is false iff the installation
18 // was required but failed.
19 typedef base::Callback<void(bool)> OnAppHostInstallationCompleteCallback;
20
21 // Installs the App Host if it is absent, but is required for the given
22 // extension on the current platform.
23 // Calls |completion_callback| on the original calling thread after.
24 void InstallAppHostIfNecessary(
25 const Extension& extension,
benwells 2012/11/01 23:11:46 We don't need this here now. Let's assume the call
huangs 2012/11/02 18:39:01 - Removed parameter. - We no longer test extension
26 const OnAppHostInstallationCompleteCallback& completion_callback);
27
28 } // namespace app_host_installer
29
30 } // namespace extensions
31
32 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698