Index: chrome/browser/chrome_browser_main.cc |
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc |
index 25456a462fc5eefa1b8c65295dbc578646197a93..d80d4e405e7125cde7d6608bc80c32e8a0b99053 100644 |
--- a/chrome/browser/chrome_browser_main.cc |
+++ b/chrome/browser/chrome_browser_main.cc |
@@ -676,27 +676,27 @@ void ChromeBrowserMainParts::SetupMetricsAndFieldTrials() { |
// Now that field trials have been created, initializes metrics recording. |
metrics->InitializeMetricsRecordingState(); |
- const chrome::VersionInfo::Channel channel = |
+ const version_info::Channel channel = |
chrome::VersionInfo::GetChannel(); |
// TODO(dalecurtis): Remove these checks and enable for all channels once we |
// track down the root causes of crbug.com/422522 and crbug.com/478932. |
- if (channel == chrome::VersionInfo::CHANNEL_UNKNOWN || |
- channel == chrome::VersionInfo::CHANNEL_CANARY || |
- channel == chrome::VersionInfo::CHANNEL_DEV) { |
+ if (channel == version_info::Channel::UNKNOWN || |
+ channel == version_info::Channel::CANARY || |
+ channel == version_info::Channel::DEV) { |
media::AudioManager::EnableHangMonitor(); |
} |
// Enable profiler instrumentation depending on the channel. |
switch (channel) { |
- case chrome::VersionInfo::CHANNEL_UNKNOWN: |
- case chrome::VersionInfo::CHANNEL_CANARY: |
+ case version_info::Channel::UNKNOWN: |
+ case version_info::Channel::CANARY: |
tracked_objects::ScopedTracker::Enable(); |
break; |
- case chrome::VersionInfo::CHANNEL_DEV: |
- case chrome::VersionInfo::CHANNEL_BETA: |
- case chrome::VersionInfo::CHANNEL_STABLE: |
+ case version_info::Channel::DEV: |
+ case version_info::Channel::BETA: |
+ case version_info::Channel::STABLE: |
// Don't enable instrumentation. |
break; |
} |