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

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: -> _mac 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
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 6dfde519f06e03f01324c30962f7efc663a25d57..574a2f891ffafdf69984db1caac429d6bb9a236a 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -120,6 +120,10 @@
#include "chrome/browser/plugins/plugins_resource_service.h"
#endif
+#if defined(OS_MACOSX)
+#include "apps/app_shim/app_shim_host_manager_mac.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.
@@ -266,6 +270,10 @@ void BrowserProcessImpl::StartTearDown() {
// monitor information.
aura::Env::DeleteInstance();
#endif
+
+#if defined(OS_MACOSX)
+ app_shim_host_manager_.reset();
+#endif
}
void BrowserProcessImpl::PostDestroyThreads() {
@@ -896,6 +904,10 @@ void BrowserProcessImpl::PreMainMessageLoopRun() {
bookmark_prompt_controller_.reset(new BookmarkPromptController());
}
#endif
+
+#if defined(OS_MACOSX)
+ app_shim_host_manager_.reset(new AppShimHostManager);
+#endif
}
void BrowserProcessImpl::CreateIconManager() {
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698