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

Unified Diff: chrome/common/gcm_desktop_util.cc

Issue 1257633002: Componentize VersionInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix lost changes to //chrome/common/BUILD.gn and fix compilation of app_window_intercept_all_keys_u… 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/gcm_desktop_util.cc
diff --git a/chrome/common/gcm_desktop_util.cc b/chrome/common/gcm_desktop_util.cc
index cfb8bfcf9b601960800b1fc6631e4b430a167046..a486963816a3374e37f0a08fc4749a9ecb5cc242 100644
--- a/chrome/common/gcm_desktop_util.cc
+++ b/chrome/common/gcm_desktop_util.cc
@@ -42,17 +42,17 @@ GCMClient::ChromePlatform GetPlatform() {
}
GCMClient::ChromeChannel GetChannel() {
- chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel();
+ version_info::Channel channel = chrome::VersionInfo::GetChannel();
switch (channel) {
- case chrome::VersionInfo::CHANNEL_UNKNOWN:
+ case version_info::CHANNEL_UNKNOWN:
return GCMClient::CHANNEL_UNKNOWN;
- case chrome::VersionInfo::CHANNEL_CANARY:
+ case version_info::CHANNEL_CANARY:
return GCMClient::CHANNEL_CANARY;
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::CHANNEL_DEV:
return GCMClient::CHANNEL_DEV;
- case chrome::VersionInfo::CHANNEL_BETA:
+ case version_info::CHANNEL_BETA:
return GCMClient::CHANNEL_BETA;
- case chrome::VersionInfo::CHANNEL_STABLE:
+ case version_info::CHANNEL_STABLE:
return GCMClient::CHANNEL_STABLE;
default:
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698