Chromium Code Reviews| Index: components/metrics/metrics_service.cc |
| diff --git a/components/metrics/metrics_service.cc b/components/metrics/metrics_service.cc |
| index 5c9448987ab9b42348f2ed6a8b0743936542dacb..d4e37dfb107a4b7709682175482ed6b1824bb55c 100644 |
| --- a/components/metrics/metrics_service.cc |
| +++ b/components/metrics/metrics_service.cc |
| @@ -161,6 +161,10 @@ |
| #include "components/prefs/pref_service.h" |
| #include "components/variations/entropy_provider.h" |
| +#if defined(OS_WIN) |
| +#include "components/browser_watcher/stability_debugging_win.h" |
|
bcwhite
2016/12/01 16:35:20
Can you use a generic stability_debugging.h with p
manzagop (departed)
2016/12/05 15:44:05
Done.
|
| +#endif // defined(OS_WIN) |
| + |
| namespace metrics { |
| namespace { |
| @@ -495,6 +499,10 @@ void MetricsService::SetExecutionPhase(ExecutionPhase execution_phase, |
| PrefService* local_state) { |
| execution_phase_ = execution_phase; |
| local_state->SetInteger(prefs::kStabilityExecutionPhase, execution_phase_); |
| +#if defined(OS_WIN) |
| + browser_watcher::SetStabilityDataInt(prefs::kStabilityExecutionPhase, |
| + execution_phase_); |
| +#endif // defined(OS_WIN) |
| } |
| void MetricsService::RecordBreakpadRegistration(bool success) { |