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

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

Issue 9693055: Launch Google Update on uninstall. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 8 years, 9 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 5 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 6 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 static bool WriteGoogleUpdateSystemClientKey(int handle, 189 static bool WriteGoogleUpdateSystemClientKey(int handle,
190 const std::wstring& key, 190 const std::wstring& key,
191 const std::wstring& value); 191 const std::wstring& value);
192 192
193 // Returns the effective update policy for |app_guid| as dictated by 193 // Returns the effective update policy for |app_guid| as dictated by
194 // Group Policy settings. |is_overridden|, if non-NULL, is populated with 194 // Group Policy settings. |is_overridden|, if non-NULL, is populated with
195 // true if an app-specific policy override is in force, or false otherwise. 195 // true if an app-specific policy override is in force, or false otherwise.
196 static UpdatePolicy GetAppUpdatePolicy(const std::wstring& app_guid, 196 static UpdatePolicy GetAppUpdatePolicy(const std::wstring& app_guid,
197 bool* is_overridden); 197 bool* is_overridden);
198 198
199 // Returns Google Update's uninstall command line, or an empty string if none
200 // is found.
201 static string16 GetUninstallCommandLine(bool system_install);
202
199 private: 203 private:
200 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); 204 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings);
201 }; 205 };
202 206
203 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_ 207 #endif // CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_SETTINGS_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/google_update_constants.cc ('k') | chrome/installer/util/google_update_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698