Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / installer / util / google_update_util.h
index 30d77e9..97edfad 100644 (file)
@@ -5,8 +5,6 @@
 #ifndef CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_
 #define CHROME_INSTALLER_UTIL_GOOGLE_UPDATE_UTIL_H_
 
-#include <string>
-
 namespace google_update {
 
 // If user-level Google Update is absent, calls the system-level
@@ -22,10 +20,10 @@ bool EnsureUserLevelGoogleUpdatePresent();
 // Returns false if Google Update could not be executed, or times out.
 bool UninstallGoogleUpdate(bool system_install);
 
-// Returns the value corresponding to |key| in untrusted data passed from
-// Google Update.  Returns an empty string if |key| is absent or if its value
-// contains non-printable characters.
-std::string GetUntrustedDataValue(const std::string& key);
+// Run setup.exe to attempt to reenable updates for for Chrome while elevating
+// if needed. Setup.exe will call into
+// GoogleUpdateSettings::ReenableAutoupdatesForApp() to do the work.
+void ElevateIfNeededToReenableUpdates();
 
 }  // namespace google_update