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

Unified Diff: chrome/browser/upgrade_detector_impl.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix OWNERS (copy from //chrome/OWNERS) Created 5 years, 5 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
Index: chrome/browser/upgrade_detector_impl.cc
diff --git a/chrome/browser/upgrade_detector_impl.cc b/chrome/browser/upgrade_detector_impl.cc
index 3ea01870f271b411315afaa75c82de926f017c00..22cc663d5bde43a3eedc4e65b7668e3bc5d99a5c 100644
--- a/chrome/browser/upgrade_detector_impl.cc
+++ b/chrome/browser/upgrade_detector_impl.cc
@@ -97,9 +97,9 @@ bool IsUnstableChannel() {
// but no anymore. But other platform may still need the file thread.
// crbug.com/366647.
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
- return channel == chrome::VersionInfo::CHANNEL_DEV ||
- channel == chrome::VersionInfo::CHANNEL_CANARY;
+ version_info::Channel channel = chrome::VersionInfo::GetChannel();
+ return channel == version_info::CHANNEL_DEV ||
+ channel == version_info::CHANNEL_CANARY;
}
// This task identifies whether we are running an unstable version. And then it

Powered by Google App Engine
This is Rietveld 408576698