Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
index 08bc59e3a02b9e7958d2e0e11147f04513f0d721..c69f48f96b454a453d24dbf853b515ce1ce4b0d0 100644 |
--- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
+++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
@@ -144,9 +144,7 @@ |
#include "chrome/browser/chromeos/events/xinput_hierarchy_changed_event_listener.h" |
#endif |
-#if defined(ENABLE_ARC) |
#include "components/arc/arc_bridge_service.h" |
-#endif |
namespace chromeos { |
@@ -390,14 +388,12 @@ void ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() { |
wake_on_wifi_manager_.reset(new WakeOnWifiManager()); |
-#if defined(ENABLE_ARC) |
arc_bridge_service_.reset(new arc::ArcBridgeService( |
content::BrowserThread::GetMessageLoopProxyForThread( |
content::BrowserThread::IO), |
content::BrowserThread::GetMessageLoopProxyForThread( |
content::BrowserThread::FILE))); |
arc_bridge_service_->DetectAvailability(); |
-#endif |
ChromeBrowserMainPartsLinux::PreMainMessageLoopRun(); |
} |
@@ -712,9 +708,7 @@ void ChromeBrowserMainPartsChromeos::PostBrowserStart() { |
void ChromeBrowserMainPartsChromeos::PostMainMessageLoopRun() { |
BootTimesRecorder::Get()->AddLogoutTimeMarker("UIMessageLoopEnded", true); |
-#if defined(ENABLE_ARC) |
arc_bridge_service_->Shutdown(); |
-#endif |
// Destroy the application name notifier for Kiosk mode. |
KioskModeIdleAppNameNotification::Shutdown(); |