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

Side by Side Diff: chrome/browser/extensions/app_host/binaries_installer_internal.h

Issue 10825364: Upon execution of the App Host, ask Omaha to install the Chrome Binaries if they are not present on… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add oleauto.h for BSTR. Created 8 years, 3 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 | Annotate | Revision Log
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_BINARIES_INSTALLER_INTERNAL_H_
6 #define CHROME_BROWSER_EXTENSIONS_APP_HOST_BINARIES_INSTALLER_INTERNAL_H_
7
8 #include <windows.h>
9 #include <oleauto.h>
10
11 struct IApp;
12 struct IAppBundle;
13 struct IGoogleUpdate3;
14
15 namespace app_host {
16 namespace internal {
17
18 // Returns true if the installation process is terminated, in which case *hr
19 // will reveal the outcome.
20 bool CheckIfDone(IAppBundle* app_bundle, IApp* app, HRESULT* hr);
21
22 // Creates and initializes an IAppBundle using the provided IGoogleUpdate3
23 // instance.
24 HRESULT CreateAppBundle(IGoogleUpdate3* update3, IAppBundle** app_bundle);
25
26 // Retrieves the AP value of the Application Host, if installed.
27 HRESULT GetAppHostApValue(IGoogleUpdate3* update3, BSTR* ap_value);
28
29 // Adds the Chrome Binaries to the bundle for installation.
30 HRESULT CreateBinariesIApp(IAppBundle* app_bundle, BSTR ap, IApp** app);
31
32 // Create an instance of the IGoogleUpdate3 interface.
33 HRESULT CreateGoogleUpdate3(IGoogleUpdate3** update3);
34
35 // Attempts to use the AP value from the installed App Host, defaulting to Dev
36 // channel otherwise.
37 HRESULT SelectBinariesApValue(IGoogleUpdate3* update3, BSTR* ap_value);
38
39 } // namespace internal
40 } // namespace app_host
41
42 #endif // CHROME_BROWSER_EXTENSIONS_APP_HOST_BINARIES_INSTALLER_INTERNAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698