Index: components/metrics/execution_phase.cc |
diff --git a/components/metrics/execution_phase.cc b/components/metrics/execution_phase.cc |
index c37f05c594fed6bd08450ad36e4bc8166099f4f1..98f9aee136e00cf13568de6bb70619ffae6bccb5 100644 |
--- a/components/metrics/execution_phase.cc |
+++ b/components/metrics/execution_phase.cc |
@@ -4,6 +4,7 @@ |
#include "components/metrics/execution_phase.h" |
+#include "build/build_config.h" |
#include "components/browser_watcher/stability_data_names.h" |
#include "components/browser_watcher/stability_debugging.h" |
#include "components/metrics/metrics_pref_names.h" |
@@ -34,9 +35,11 @@ void ExecutionPhaseManager::SetExecutionPhase(ExecutionPhase execution_phase) { |
execution_phase_ = execution_phase; |
local_state_->SetInteger(prefs::kStabilityExecutionPhase, |
static_cast<int>(execution_phase_)); |
+#if defined(OS_WIN) |
browser_watcher::SetStabilityDataInt( |
browser_watcher::kStabilityExecutionPhase, |
static_cast<int>(execution_phase_)); |
+#endif // defined(OS_WIN) |
} |
ExecutionPhase ExecutionPhaseManager::GetExecutionPhase() { |