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

Unified Diff: chrome/installer/util/install_util.h

Issue 8142028: When critical updates have been installed and the user has been idle for quite some time, show a ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/google_update_constants.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/install_util.h
===================================================================
--- chrome/installer/util/install_util.h (revision 105287)
+++ chrome/installer/util/install_util.h (working copy)
@@ -6,8 +6,8 @@
// for putting these functions in installer\util library is so that we can
// separate out the critical logic and write unit tests for it.
-#ifndef CHROME_INSTALLER_UTIL_INSTALL_UTIL_H__
-#define CHROME_INSTALLER_UTIL_INSTALL_UTIL_H__
+#ifndef CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_
+#define CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_
#pragma once
#include <tchar.h>
@@ -45,6 +45,11 @@
static Version* GetChromeVersion(BrowserDistribution* dist,
bool system_install);
+ // Find the last critical update (version) of Chrome. Returns the version or
+ // NULL if no such version is found. A critical update is a specially flagged
+ // version (by Google Update) that contains an important security fix.
+ static Version* GetCriticalUpdateVersion(BrowserDistribution* dist);
+
// This function checks if the current OS is supported for Chromium.
static bool IsOSSupported();
@@ -166,4 +171,4 @@
};
-#endif // CHROME_INSTALLER_UTIL_INSTALL_UTIL_H__
+#endif // CHROME_INSTALLER_UTIL_INSTALL_UTIL_H_
« no previous file with comments | « chrome/installer/util/google_update_constants.cc ('k') | chrome/installer/util/install_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698