summaryrefslogtreecommitdiffstats
path: root/chrome/browser/google/google_update.h
diff options
context:
space:
mode:
authorpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:19:39 +0000
committerpastarmovj@chromium.org <pastarmovj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-11 16:19:39 +0000
commitbb1c7dac581b2a5d3ceae436b248064f3115591f (patch)
tree7754492fd71fc2411a24f38850ccc2c00e50ef09 /chrome/browser/google/google_update.h
parent402cf4ba9c7dc2a46e91ca4f49125bb13b04973c (diff)
downloadchromium_src-bb1c7dac581b2a5d3ceae436b248064f3115591f.zip
chromium_src-bb1c7dac581b2a5d3ceae436b248064f3115591f.tar.gz
chromium_src-bb1c7dac581b2a5d3ceae436b248064f3115591f.tar.bz2
Introduced better UI for the Omaha policy to disable updates for Chrome.
In case the policy is set the generic error message is replaced by a more concrete message stating that updates are disabled by the administrator. BUG=61056 TEST=Set the Omaha policy to disable updates, go the About Chrome box and check the message in the lower part of the window. Review URL: http://codereview.chromium.org/6482022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/google/google_update.h')
-rw-r--r--chrome/browser/google/google_update.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/google/google_update.h b/chrome/browser/google/google_update.h
index 24ff093..bb810a1 100644
--- a/chrome/browser/google/google_update.h
+++ b/chrome/browser/google/google_update.h
@@ -57,6 +57,8 @@ enum GoogleUpdateErrorCode {
// An error occurred while upgrading (or while checking for update).
// Check the Google Update log in %TEMP% for more details.
GOOGLE_UPDATE_ERROR_UPDATING,
+ // Updates can not be downloaded because the administrator has disabled them.
+ GOOGLE_UPDATE_DISABLED_BY_POLICY,
};
// The GoogleUpdateStatusListener interface is used by components to receive