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

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: Changing code entry from class to function. 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 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/basictypes.h"
erikwright (departed) 2012/10/09 19:24:48 not needed, right?
huangs 2012/10/09 21:09:15 Done.
9 #include "base/callback_forward.h"
10
11 namespace extensions {
12
13 class Extension;
14
15 namespace app_host_installer {
16
17 // Installs the App Host if it is required and not present for the given
18 // extension on the current platform.
19 // Calls |completion_callback| after checks and installation (if necessary)
20 // are complete, with a boolean which will be false iff the installation was
21 // required but failed.
22 void InstallAppHostIfNecessary(const Extension& extension,
23 const base::Callback<void(bool)>& completion_callback);
24
25 } // namespace app_host_installer
26
27 } // namespace extensions
28
29 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698