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

Unified Diff: chrome/browser/ui/webui/extensions/extension_settings_handler.cc

Issue 296503003: Remove channel restrictions for the CAEDT promo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/extensions/extension_settings_handler.cc
diff --git a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
index b82bb77ca6c4ef1a4204d969a77162341f34223f..3b7eb3561b08446db6c8c1d8b9c448f6b3eb8657 100644
--- a/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
+++ b/chrome/browser/ui/webui/extensions/extension_settings_handler.cc
@@ -779,8 +779,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData(
// Promote the Chrome Apps & Extensions Developer Tools if they are not
// installed and the user has not previously dismissed the warning.
bool promote_apps_dev_tools = false;
- if (GetCurrentChannel() <= chrome::VersionInfo::CHANNEL_DEV &&
- !ExtensionRegistry::Get(Profile::FromWebUI(web_ui()))->
+ if (!ExtensionRegistry::Get(Profile::FromWebUI(web_ui()))->
GetExtensionById(kAppsDeveloperToolsExtensionId,
ExtensionRegistry::EVERYTHING) &&
!profile->GetPrefs()->GetBoolean(prefs::kExtensionsUIDismissedADTPromo)) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698