diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 17:52:52 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 17:52:52 +0000 |
commit | bca64fb4641e61af1149a1cc9368262e013a8f5f (patch) | |
tree | 2bdb5835cf6b73a381cfb93158e33b320a0a5cf6 /chrome/browser/upgrade_detector.h | |
parent | 35d484be8c276bb174ba82eaf7dc7f32e9f9c2c8 (diff) | |
download | chromium_src-bca64fb4641e61af1149a1cc9368262e013a8f5f.zip chromium_src-bca64fb4641e61af1149a1cc9368262e013a8f5f.tar.gz chromium_src-bca64fb4641e61af1149a1cc9368262e013a8f5f.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/upgrade_detector.h')
-rw-r--r-- | chrome/browser/upgrade_detector.h | 4 |
1 files changed, 2 insertions, 2 deletions
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_; |