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

Unified Diff: chrome/browser/web_resource/notification_promo.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/web_resource/notification_promo.cc
diff --git a/chrome/browser/web_resource/notification_promo.cc b/chrome/browser/web_resource/notification_promo.cc
index cdae454d874b6cc4d56643bc1ce98c6c7654b5cd..287cde386e96dfaff3a2ba46e3ac4beca6478cb9 100644
--- a/chrome/browser/web_resource/notification_promo.cc
+++ b/chrome/browser/web_resource/notification_promo.cc
@@ -86,16 +86,16 @@ const char* ChannelString() {
// TODO(achuith): Move NotificationPromo::PromoServerURL to the blocking pool.
base::ThreadRestrictions::ScopedAllowIO allow_io;
#endif
- const chrome::VersionInfo::Channel channel =
+ const version_info::Channel channel =
chrome::VersionInfo::GetChannel();
switch (channel) {
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::CHANNEL_CANARY:
return "canary";
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::CHANNEL_DEV:
return "dev";
- case chrome::VersionInfo::CHANNEL_BETA:
+ case version_info::CHANNEL_BETA:
return "beta";
- case chrome::VersionInfo::CHANNEL_STABLE:
+ case version_info::CHANNEL_STABLE:
return "stable";
default:
return "none";

Powered by Google App Engine
This is Rietveld 408576698