[go: nahoru, domu]

blob: caf8a8b1d887c004a22edda914586f3749db5989 [file] [log] [blame]
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/debug_utils.h"
#include "base/logging.h"
#include "base/metrics/histogram_macros.h"
#include "base/numerics/safe_conversions.h"
namespace content {
void CaptureTraceForNavigationDebugScenario(DebugScenario scenario) {
LOG(ERROR) << "Hit debug scenario: " << base::strict_cast<int>(scenario);
UMA_HISTOGRAM_ENUMERATION("Stability.DebugScenario.Navigation", scenario);
}
} // namespace content