Chromium Code Reviews

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/upgrade_detector_impl.cc ('k') | chrome/browser/web_resource/notification_promo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index 32b0367e6e5b60b842eff5078d3617f1e0fa9456..115f46cc4e199f694b58039eea39c2a9fa1d54d5 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -319,10 +319,10 @@ base::FilePath GetLocalizableAppShortcutsSubdirName() {
static const char kChromeCanaryAppDirName[] = "Chrome Canary Apps.localized";
switch (chrome::VersionInfo::GetChannel()) {
- case chrome::VersionInfo::CHANNEL_UNKNOWN:
+ case version_info::Channel::UNKNOWN:
return base::FilePath(kChromiumAppDirName);
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::Channel::CANARY:
return base::FilePath(kChromeCanaryAppDirName);
default:
« no previous file with comments | « chrome/browser/upgrade_detector_impl.cc ('k') | chrome/browser/web_resource/notification_promo.cc » ('j') | no next file with comments »

Powered by Google App Engine