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

Unified Diff: chrome/browser/metrics/chrome_metrics_service_client.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
Index: chrome/browser/metrics/chrome_metrics_service_client.cc
diff --git a/chrome/browser/metrics/chrome_metrics_service_client.cc b/chrome/browser/metrics/chrome_metrics_service_client.cc
index 3ab2d017bb7c226e2fa1a4f2648ea702f5431bd8..e77d03cd4422dfc0b4107fe338aefaaf609bff88 100644
--- a/chrome/browser/metrics/chrome_metrics_service_client.cc
+++ b/chrome/browser/metrics/chrome_metrics_service_client.cc
@@ -377,8 +377,8 @@ void ChromeMetricsServiceClient::Initialize() {
// Report exit funnels for canary and dev only.
bool report_exit_funnels = false;
switch (chrome::VersionInfo::GetChannel()) {
- case chrome::VersionInfo::CHANNEL_CANARY:
- case chrome::VersionInfo::CHANNEL_DEV:
+ case version_info::Channel::CANARY:
+ case version_info::Channel::DEV:
report_exit_funnels = true;
break;
}
« no previous file with comments | « chrome/browser/media/chrome_webrtc_disable_encryption_flag_browsertest.cc ('k') | chrome/browser/metrics/thread_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698