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_BINARIES_INSTALLER_INTERNAL_H_ | |
6 #define CHROME_BROWSER_EXTENSIONS_APP_HOST_BINARIES_INSTALLER_INTERNAL_H_ | |
7 | |
8 #include <windows.h> | |
9 | |
10 struct IApp; | |
11 struct IAppBundle; | |
12 struct IGoogleUpdate3; | |
13 | |
14 namespace app_host { | |
15 namespace internal { | |
16 | |
17 // Returns true if the installation process is terminated, in which case *hr | |
18 // will reveal the outcome. | |
19 bool CheckIfDone(IAppBundle* app_bundle, IApp* app, HRESULT* hr); | |
20 | |
21 // Creates and initializes an IAppBundle using the provided IGoogleUpdate3 | |
22 // instance. | |
23 HRESULT CreateAppBundle(IGoogleUpdate3* update3, IAppBundle** app_bundle); | |
24 | |
25 // Retrieves the AP value of the Application Host, if installed. | |
26 HRESULT GetAppHostAPValue(IGoogleUpdate3* update3, BSTR* ap_value); | |
miket_OOO
2012/08/23 23:51:01
Be consistent in capitalization of AP in this file
erikwright (departed)
2012/08/31 21:04:48
Done.
| |
27 | |
28 // Adds the Chrome Binaries to the bundle for installation. | |
29 HRESULT CreateBinariesIApp(IAppBundle* app_bundle, BSTR ap, IApp** app); | |
30 | |
31 // Create an instance of the IGoogleUpdate3 interface. | |
32 HRESULT CreateGoogleUpdate3(IGoogleUpdate3** update3); | |
33 | |
34 // Attempts to use the AP value from the installed App Host, defaulting to Dev | |
35 // channel otherwise. | |
36 HRESULT SelectBinariesApValue(IGoogleUpdate3* update3, BSTR* ap_value); | |
37 | |
38 } // namespace internal | |
39 } // namespace app_host | |
40 | |
41 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_BINARIES_INSTALLER_INTERNAL_H_ | |
OLD | NEW |