| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index 3b02122611bd9780277972e204e75b338839e0de..51c223f0504246e2bccf6393b17ed6727b9a1976 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -176,7 +176,9 @@
|
| #include "chrome/browser/metrics/thread_watcher_android.h"
|
| #include "ui/base/resource/resource_bundle_android.h"
|
| #else
|
| +#include "chrome/browser/features.h"
|
| #include "chrome/browser/feedback/feedback_profile_observer.h"
|
| +#include "chrome/browser/lifetime/application_lifetime.h"
|
| #endif // defined(OS_ANDROID)
|
|
|
| #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
| @@ -1982,6 +1984,12 @@ bool ChromeBrowserMainParts::MainMessageLoopRun(int* result_code) {
|
| g_browser_process->local_state());
|
| run_loop.Run();
|
|
|
| + if (base::FeatureList::IsEnabled(chrome::kDesktopFastShutdown)) {
|
| + // Experiment to determine the impact of always taking the quick exit path.
|
| + // There is no returning from this call as it terminates the process.
|
| + chrome::SessionEnding();
|
| + }
|
| +
|
| return true;
|
| #endif // defined(OS_ANDROID)
|
| }
|
|
|