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

Unified Diff: chrome/browser/metrics/variations/variations_service.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/metrics/variations/variations_service.cc
diff --git a/chrome/browser/metrics/variations/variations_service.cc b/chrome/browser/metrics/variations/variations_service.cc
index 557d8b1d2bf08ff62a4a29b50e99513ae72aeb96..cdfeb163c5115424a8400fdbb06762332e74ee9f 100644
--- a/chrome/browser/metrics/variations/variations_service.cc
+++ b/chrome/browser/metrics/variations/variations_service.cc
@@ -67,15 +67,15 @@ const int64 kServerTimeResolutionMs = 1000;
// channel.
variations::Study_Channel GetChannelForVariations() {
switch (chrome::VersionInfo::GetChannel()) {
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::CHANNEL_CANARY:
return variations::Study_Channel_CANARY;
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::CHANNEL_DEV:
return variations::Study_Channel_DEV;
- case chrome::VersionInfo::CHANNEL_BETA:
+ case version_info::CHANNEL_BETA:
return variations::Study_Channel_BETA;
- case chrome::VersionInfo::CHANNEL_STABLE:
+ case version_info::CHANNEL_STABLE:
return variations::Study_Channel_STABLE;
- case chrome::VersionInfo::CHANNEL_UNKNOWN:
+ case version_info::CHANNEL_UNKNOWN:
break;
}
const std::string forced_channel =

Powered by Google App Engine
This is Rietveld 408576698