OLD | NEW |
---|---|
(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 { | |
grt (UTC plus 2)
2012/10/24 15:59:18
this doesn't follow the chromium namespace convent
huangs
2012/10/24 18:52:45
We still need to find a good place to place these,
| |
15 | |
16 // Installs the App Host if it is absent, but is required for the given | |
17 // extension on the current platform. | |
18 // Calls |completion_callback| on the original calling thread after checks | |
19 // and (possible) installation are complete, with a boolean that will be false | |
20 // iff the installation was required but failed. | |
21 void InstallAppHostIfNecessary(const Extension& extension, | |
erikwright (departed)
2012/10/24 15:33:28
need to wrap both parameters if you can't indent t
huangs
2012/10/24 18:52:45
Done.
| |
22 const base::Callback<void(bool)>& completion_callback); | |
23 | |
24 } // namespace app_host_installer | |
25 | |
26 } // namespace extensions | |
27 | |
28 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_INSTALLER_H_ | |
OLD | NEW |