Remove channel restrictions for the CAEDT promo.

Enable the promotion for the Chrome Apps and Extensions Developer Tool in all
channels.
BUG=365219

Review URL: https://codereview.chromium.org/296503003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271748 0039d316-1c4b-4281-b951-d872f2087c98
parent 5d58f95e
...@@ -779,8 +779,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData( ...@@ -779,8 +779,7 @@ void ExtensionSettingsHandler::HandleRequestExtensionsData(
// Promote the Chrome Apps & Extensions Developer Tools if they are not // Promote the Chrome Apps & Extensions Developer Tools if they are not
// installed and the user has not previously dismissed the warning. // installed and the user has not previously dismissed the warning.
bool promote_apps_dev_tools = false; bool promote_apps_dev_tools = false;
if (GetCurrentChannel() <= chrome::VersionInfo::CHANNEL_DEV && if (!ExtensionRegistry::Get(Profile::FromWebUI(web_ui()))->
!ExtensionRegistry::Get(Profile::FromWebUI(web_ui()))->
GetExtensionById(kAppsDeveloperToolsExtensionId, GetExtensionById(kAppsDeveloperToolsExtensionId,
ExtensionRegistry::EVERYTHING) && ExtensionRegistry::EVERYTHING) &&
!profile->GetPrefs()->GetBoolean(prefs::kExtensionsUIDismissedADTPromo)) { !profile->GetPrefs()->GetBoolean(prefs::kExtensionsUIDismissedADTPromo)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment