| 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..8e4b0767b33a4342769c257a22838645c6e6cbe8 100644
|
| --- a/chrome/browser/chrome_browser_main.cc
|
| +++ b/chrome/browser/chrome_browser_main.cc
|
| @@ -27,6 +27,7 @@
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/path_service.h"
|
| #include "base/profiler/scoped_tracker.h"
|
| +#include "base/profiler/stack_sampling_profiler.h"
|
| #include "base/run_loop.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -2095,6 +2096,11 @@ void ChromeBrowserMainParts::PostDestroyThreads() {
|
| #endif // defined(OS_ANDROID)
|
| }
|
|
|
| +void ChromeBrowserMainParts::PreShutdown() {
|
| + base::StackSamplingProfiler::SetProcessPhase(
|
| + metrics::CallStackProfileMetricsProvider::SHUTDOWN_START);
|
| +}
|
| +
|
| // Public members:
|
|
|
| void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
|
|
|