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

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

Issue 12095052: Move app_launcher.* out of chrome/browser/extensions and into apps/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Beserk Q. More rebase Created 7 years, 10 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/ui/extensions/extension_install_ui_default.cc
diff --git a/chrome/browser/extensions/extension_install_ui_default.cc b/chrome/browser/ui/extensions/extension_install_ui_default.cc
similarity index 98%
rename from chrome/browser/extensions/extension_install_ui_default.cc
rename to chrome/browser/ui/extensions/extension_install_ui_default.cc
index 6fe870b6e8b374727938cc3788caf3179793f9e8..f0ccd1719e3a9d0e681a61a5195d9d8b6500bef0 100644
--- a/chrome/browser/extensions/extension_install_ui_default.cc
+++ b/chrome/browser/ui/extensions/extension_install_ui_default.cc
@@ -2,14 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/extension_install_ui_default.h"
+#include "chrome/browser/ui/extensions/extension_install_ui_default.h"
+#include "apps/app_launcher.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/api/infobars/confirm_infobar_delegate.h"
#include "chrome/browser/api/infobars/infobar_service.h"
-#include "chrome/browser/extensions/app_launcher.h"
#include "chrome/browser/extensions/extension_install_prompt.h"
#include "chrome/browser/extensions/theme_installed_infobar_delegate.h"
#include "chrome/browser/profiles/profile.h"
@@ -188,7 +188,7 @@ void ExtensionInstallUIDefault::OnInstallSuccess(const Extension* extension,
cmdline->HasSwitch(switches::kAppsNewInstallBubble));
#endif
- extensions::UpdateIsAppLauncherEnabled(
+ apps::GetIsAppLauncherEnabled(
base::Bind(&OnAppLauncherEnabledCompleted, extension, browser, icon,
use_bubble));
return;
« no previous file with comments | « chrome/browser/ui/extensions/extension_install_ui_default.h ('k') | chrome/browser/ui/webui/ntp/new_tab_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698