From bca64fb4641e61af1149a1cc9368262e013a8f5f Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Mon, 25 Apr 2011 17:52:52 +0000 Subject: Fix users of platform_util::GetVersionStringModifier that really only care about the channel name to use the new platform_util::GetInstallationChannel. GetVersionStringModifier should only be used for display purposes. Use GetInstallationChannel to determine the channel name for comparisons. Fix the upgrade detector to treat the canary channel the same way that it treats the dev channel, using a shorter notification interval. BUG=79814 TEST=none Review URL: http://codereview.chromium.org/6899034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82888 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/upgrade_detector.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser/upgrade_detector.h') diff --git a/chrome/browser/upgrade_detector.h b/chrome/browser/upgrade_detector.h index 659ffb8..3188efb 100644 --- a/chrome/browser/upgrade_detector.h +++ b/chrome/browser/upgrade_detector.h @@ -77,8 +77,8 @@ class UpgradeDetector { // When the upgrade was detected. base::Time upgrade_detected_time_; - // Whether this build is a dev channel build or not. - bool is_dev_channel_; + // True if this build is a dev or canary channel build. + bool is_unstable_channel_; // The stage at which the annoyance level for upgrade notifications is at. UpgradeNotificationAnnoyanceLevel upgrade_notification_stage_; -- cgit v1.1