| Index: chrome/browser/chrome_browser_main.cc
|
| diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
|
| index 0e7089aaed6f3771a6922e0e0cd1a007afd97f56..388d86babfb57e4b913c4f9b2849a3241e00bbc8 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"
|
| @@ -2094,6 +2095,11 @@ void ChromeBrowserMainParts::PostDestroyThreads() {
|
| #endif // defined(OS_ANDROID)
|
| }
|
|
|
| +void ChromeBrowserMainParts::PreShutdown() {
|
| + base::StackSamplingProfiler::SetProcessMilestone(
|
| + metrics::CallStackProfileMetricsProvider::SHUTDOWN_START);
|
| +}
|
| +
|
| // Public members:
|
|
|
| void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
|
|
|