| Index: chrome/browser/browser_shutdown.cc
|
| diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc
|
| index a07f69109ce94946a512ff516bcc182af44bbbce..eaad0042ff452fc86fd90a8f7b7e2a51ef01d2c5 100644
|
| --- a/chrome/browser/browser_shutdown.cc
|
| +++ b/chrome/browser/browser_shutdown.cc
|
| @@ -24,7 +24,6 @@
|
| #include "chrome/browser/first_run/upgrade_util.h"
|
| #include "chrome/browser/lifetime/application_lifetime.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| -#include "chrome/browser/service_process/service_process_control.h"
|
| #include "chrome/common/chrome_paths.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/crash_keys.h"
|
| @@ -47,6 +46,10 @@
|
| #include "chrome/browser/chromeos/boot_times_loader.h"
|
| #endif
|
|
|
| +#if defined(ENABLE_FULL_PRINTING)
|
| +#include "chrome/browser/service_process/service_process_control.h"
|
| +#endif
|
| +
|
| using base::Time;
|
| using base::TimeDelta;
|
| using content::BrowserThread;
|
| @@ -140,9 +143,10 @@ bool ShutdownPreThreadsStop() {
|
| chromeos::BootTimesLoader::Get()->AddLogoutTimeMarker(
|
| "BrowserShutdownStarted", false);
|
| #endif
|
| -
|
| +#if defined(ENABLE_FULL_PRINTING)
|
| // Shutdown the IPC channel to the service processes.
|
| ServiceProcessControl::GetInstance()->Disconnect();
|
| +#endif // ENABLE_FULL_PRINTING
|
|
|
| // WARNING: During logoff/shutdown (WM_ENDSESSION) we may not have enough
|
| // time to get here. If you have something that *must* happen on end session,
|
|
|