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

Unified Diff: chrome/common/chrome_version_info_mac.mm

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/common/chrome_version_info_mac.mm
diff --git a/chrome/common/chrome_version_info_mac.mm b/chrome/common/chrome_version_info_mac.mm
index ff86576f070535ad4180ae303e10aa4b8f976ad1..41b5bacd22dccd5ce9a849a9facedfeae575df8f 100644
--- a/chrome/common/chrome_version_info_mac.mm
+++ b/chrome/common/chrome_version_info_mac.mm
@@ -43,21 +43,21 @@ std::string VersionInfo::GetVersionStringModifier() {
}
// static
-VersionInfo::Channel VersionInfo::GetChannel() {
+version_info::Channel VersionInfo::GetChannel() {
#if defined(GOOGLE_CHROME_BUILD)
std::string channel = GetVersionStringModifier();
if (channel.empty()) {
- return CHANNEL_STABLE;
+ return version_info::CHANNEL_STABLE;
} else if (channel == "beta") {
- return CHANNEL_BETA;
+ return version_info::CHANNEL_BETA;
} else if (channel == "dev") {
- return CHANNEL_DEV;
+ return version_info::CHANNEL_DEV;
} else if (channel == "canary") {
- return CHANNEL_CANARY;
+ return version_info::CHANNEL_CANARY;
}
#endif
- return CHANNEL_UNKNOWN;
+ return version_info::CHANNEL_UNKNOWN;
}
} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698