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

Side by Side Diff: chrome/installer/util/google_update_util.h

Issue 10957016: Ensuring Google Update at user-level is installed alongside App Host, for the quick-enable App Host… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Factoring Google Update execution code, since base::TimeDelta::FromMilliseconds(INFINITE) can be us… 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_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_
7
8 namespace google_update {
9
10 // If user-level Google Update is absent, calls the system-level
11 // GoogleUpdateSetup.exe to install it, and waits until it finishes.
12 // Returns true if already installed or installed successfully.
13 // Returns false if the installation fails.
14 bool EnsureUserLevelGoogleUpdatePresent();
15
16 // Tell Google Update that an uninstall has taken place. This gives it a chance
17 // to uninstall itself straight away if no more products are installed on the
18 // system rather than waiting for the next time the scheduled task runs.
19 // Returns true if this executes successfully.
20 // Returns false if Google Update could not be executed, or times out.
21 bool UninstallGoogleUpdate(bool system_install);
22
23 } // namespace google_update
24
25 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698