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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 12623005: [mac] App shims (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index fba82ec5dca5bf0cc28f1c23abb1e52259f294bc..53a7c90a10e24e376169436e2383353d641cce54 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -123,6 +123,10 @@
#include "chrome/browser/plugins/plugins_resource_service.h"
#endif
+#if defined(OS_MACOSX)
+#include "chrome/browser/web_applications/app_shim_host_controller.h"
+#endif
+
#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
// How often to check if the persistent instance of Chrome needs to restart
// to install an update.
@@ -262,6 +266,10 @@ void BrowserProcessImpl::StartTearDown() {
// monitor information.
aura::Env::DeleteInstance();
#endif
+
+#if defined(OS_MACOSX)
+ app_shim_host_controller_.reset();
+#endif
}
void BrowserProcessImpl::PostDestroyThreads() {
@@ -883,6 +891,10 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
bookmark_prompt_controller_.reset(new BookmarkPromptController());
}
#endif
+
+#if defined(OS_MACOSX)
+ app_shim_host_controller_.reset(new AppShimHostController);
+#endif
}
void BrowserProcessImpl::CreateIconManager() {

Powered by Google App Engine
This is Rietveld 408576698