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

Side by Side Diff: client/install_self_internal.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 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
« no previous file with comments | « client/install_self.cc ('k') | client/install_self_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2009-2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 // ========================================================================
15
16 #ifndef OMAHA_CLIENT_INSTALL_SELF_INTERNAL_H_
17 #define OMAHA_CLIENT_INSTALL_SELF_INTERNAL_H_
18
19 #include <windows.h>
20 #include <atlstr.h>
21
22 namespace omaha {
23
24 namespace install_self {
25
26 namespace internal {
27
28 // Performs a self-update.
29 HRESULT DoSelfUpdate(bool is_machine, int* extra_code1);
30
31 // Does the actual work of installing Omaha for all cases.
32 HRESULT DoInstallSelf(bool is_machine,
33 bool is_self_update,
34 bool is_eula_required,
35 bool set_keepalive,
36 int* extra_code1);
37
38 // Checks that the Omaha system requirements are met. Returns an error if not.
39 HRESULT CheckSystemRequirements();
40
41 // Returns true if it can instantiate MSXML parser.
42 bool HasXmlParser();
43
44 // Sets or clears the flag that prevents Google Update from using the network
45 // until the EULA has been accepted based on whether the eularequired flag
46 // appears on the command line.
47 HRESULT SetEulaRequiredState(bool is_machine, bool is_eula_required);
48
49 // Marks Google Update EULA as not accepted if it is not already installed.
50 // Does not touch apps' EULA state.
51 HRESULT SetEulaNotAccepted(bool is_machine);
52
53 // Sets Omaha's IID in registry if one is specified, replacing existing IID.
54 HRESULT SetInstallationId(const CString& omaha_client_state_key_path,
55 const GUID& iid);
56
57 // TODO(omaha3): Maybe find a different home for these two methods.
58 // Writes error info for silent updates to the registry so the installed Omaha
59 // can send an update failed ping.
60 void PersistUpdateErrorInfo(bool is_machine,
61 HRESULT error,
62 int extra_code1,
63 const CString& version);
64
65 } // namespace internal
66
67 } // namespace install_self
68
69 } // namespace omaha
70
71 #endif // OMAHA_CLIENT_INSTALL_SELF_INTERNAL_H_
OLDNEW
« no previous file with comments | « client/install_self.cc ('k') | client/install_self_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698