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_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
7 | |
8 #include "base/command_line.h" | |
erikwright (departed)
2012/09/20 18:00:01
forward decl
huangs
2012/09/21 01:43:14
Done (deleted since it's no longer needed).
| |
9 #include "base/file_path.h" | |
erikwright (departed)
2012/09/20 18:00:01
forward decl
huangs
2012/09/21 01:43:14
Done (deleted since it's no longer needed).
| |
10 #include "base/string16.h" | |
erikwright (departed)
2012/09/20 18:00:01
not required.
huangs
2012/09/21 01:43:14
Done.
| |
11 | |
12 namespace google_update { | |
grt (UTC plus 2)
2012/09/20 17:58:51
google_update -> installer
huangs
2012/09/21 01:43:14
No-op: I'm following google_update_constants.cc, w
| |
13 | |
14 // Returns GoogleUpdateSetup.exe's executable path at |system_level|, | |
15 // or an empty path if none is found. | |
16 FilePath GetGoogleUpdateSetupExePathString(bool system_level); | |
erikwright (departed)
2012/09/20 18:00:01
PathString -> Path
huangs
2012/09/21 01:43:14
Done. Also making the routine local, until it is
| |
17 | |
18 // Appends "/install runtime=true&needsadmin=false /silent" to |cmd_line| | |
grt (UTC plus 2)
2012/09/20 17:58:51
why is this a public function? who would call it?
huangs
2012/09/21 01:43:14
I was considering writing a unit test, since I'm d
| |
19 // for GoogleUpdateSetup.exe, to install Google Update at user-level. | |
20 void AppendUserLevelGoogleUpdateInstallParam(CommandLine& cmd_line); | |
21 | |
22 // If user-level Google Update is not installed, calls the system-level | |
23 // GoogleUpdateSetup.exe to install it. | |
24 bool EnsureUserLevelGoogleUpdateInstalled(); | |
erikwright (departed)
2012/09/20 18:00:01
"Returns true if already installed or installed su
huangs
2012/09/21 01:43:14
Done.
| |
25 | |
26 } // namespace google_update | |
27 | |
28 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_ | |
OLD | NEW |