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

Unified Diff: chrome/browser/ui/extensions/extension_install_ui_default.cc

Issue 2511143003: ExtensionInstallUIDefault cleanup: Remove check for InstantExtended API (Closed)
Patch Set: Created 4 years, 1 month 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/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(&params);
content::NotificationService::current()->Notify(
« 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