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

Unified Diff: chrome/browser/update_client/chrome_update_query_params_delegate.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Convert version_info::Channel to a "class enum" 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
« no previous file with comments | « chrome/browser/ui/webui/version_ui.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/update_client/chrome_update_query_params_delegate.cc
diff --git a/chrome/browser/update_client/chrome_update_query_params_delegate.cc b/chrome/browser/update_client/chrome_update_query_params_delegate.cc
index fdb8038c25e746ab7368262ffbe6e72a952ffe88..6af75dcba3be031c88f2ee40620133a2a30ccb5a 100644
--- a/chrome/browser/update_client/chrome_update_query_params_delegate.cc
+++ b/chrome/browser/update_client/chrome_update_query_params_delegate.cc
@@ -43,19 +43,19 @@ std::string ChromeUpdateQueryParamsDelegate::GetExtraParams() {
// static
const char* ChromeUpdateQueryParamsDelegate::GetChannelString() {
switch (chrome::VersionInfo::GetChannel()) {
- case chrome::VersionInfo::CHANNEL_STABLE:
+ case version_info::Channel::STABLE:
return kStable;
break;
- case chrome::VersionInfo::CHANNEL_BETA:
+ case version_info::Channel::BETA:
return kBeta;
break;
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::Channel::DEV:
return kDev;
break;
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::Channel::CANARY:
return kCanary;
break;
- case chrome::VersionInfo::CHANNEL_UNKNOWN:
+ case version_info::Channel::UNKNOWN:
return kUnknown;
break;
}
« no previous file with comments | « chrome/browser/ui/webui/version_ui.cc ('k') | chrome/browser/upgrade_detector_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698