summaryrefslogtreecommitdiffstats
path: root/chrome/browser/upgrade_detector_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/upgrade_detector_impl.cc')
-rw-r--r--chrome/browser/upgrade_detector_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/upgrade_detector_impl.cc b/chrome/browser/upgrade_detector_impl.cc
index 2f03dbe..4e783aa 100644
--- a/chrome/browser/upgrade_detector_impl.cc
+++ b/chrome/browser/upgrade_detector_impl.cc
@@ -90,6 +90,7 @@ int GetCheckForUpgradeEveryMs() {
return kCheckForUpgradeMs;
}
+#if !defined(OS_WIN)
// Return true if the current build is one of the unstable channels.
bool IsUnstableChannel() {
// TODO(mad): Investigate whether we still need to be on the file thread for
@@ -102,7 +103,6 @@ bool IsUnstableChannel() {
channel == chrome::VersionInfo::CHANNEL_CANARY;
}
-#if !defined(OS_WIN)
// This task identifies whether we are running an unstable version. And then it
// unconditionally calls back the provided task.
void CheckForUnstableChannel(const base::Closure& callback_task,