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

Unified Diff: chrome/browser/extensions/error_console/error_console.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/extensions/error_console/error_console.cc
diff --git a/chrome/browser/extensions/error_console/error_console.cc b/chrome/browser/extensions/error_console/error_console.cc
index cf6cf0ca6da0b5bb44fe37c5d3fbc4351367639f..420eb637fd318824b9d66effe90124de863e2d21 100644
--- a/chrome/browser/extensions/error_console/error_console.cc
+++ b/chrome/browser/extensions/error_console/error_console.cc
@@ -172,7 +172,7 @@ void ErrorConsole::RemoveObserver(Observer* observer) {
bool ErrorConsole::IsEnabledForChromeExtensionsPage() const {
if (!profile_->GetPrefs()->GetBoolean(prefs::kExtensionsUIDeveloperMode))
return false; // Only enabled in developer mode.
- if (GetCurrentChannel() > chrome::VersionInfo::CHANNEL_DEV &&
+ if (GetCurrentChannel() > version_info::Channel::DEV &&
!FeatureSwitch::error_console()->IsEnabled())
return false; // Restricted to dev channel or opt-in.
« no previous file with comments | « chrome/browser/extensions/component_loader.cc ('k') | chrome/browser/extensions/error_console/error_console_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698