Chromium Code Reviews| Index: chrome/browser/ui/extensions/extension_install_ui_default.cc |
| diff --git a/chrome/browser/ui/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc |
| index a77dd669bcec8af4f92c7fc5d58c550dc6ff8df6..93dbebc5e5c576c547e7c08c7899868816610154 100644 |
| --- a/chrome/browser/ui/extensions/extension_install_ui_default.cc |
| +++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc |
| @@ -29,7 +29,6 @@ |
| #include "chrome/grit/generated_resources.h" |
| #include "components/infobars/core/confirm_infobar_delegate.h" |
| #include "components/infobars/core/infobar.h" |
| -#include "components/search/search.h" |
| #include "components/strings/grit/components_strings.h" |
| #include "content/public/browser/browser_thread.h" |
| #include "content/public/browser/web_contents.h" |
| @@ -229,11 +228,8 @@ void ExtensionInstallUIDefault::OpenAppInstalledUI(const std::string& app_id) { |
| Profile* current_profile = profile_->GetOriginalProfile(); |
| Browser* browser = FindOrCreateVisibleBrowser(current_profile); |
| if (browser) { |
| - GURL url(search::IsInstantExtendedAPIEnabled() |
| - ? chrome::kChromeUIAppsURL |
| - : chrome::kChromeUINewTabURL); |
|
Marc Treib
2016/11/17 18:10:45
I suspect this was from way back when the NTP had
|
| - chrome::NavigateParams params( |
| - chrome::GetSingletonTabNavigateParams(browser, url)); |
| + chrome::NavigateParams params(chrome::GetSingletonTabNavigateParams( |
| + browser, GURL(chrome::kChromeUIAppsURL))); |
| chrome::Navigate(¶ms); |
| content::NotificationService::current()->Notify( |