Commit b5680e60 authored by jochen's avatar jochen Committed by Commit bot

Create a dump when an invalid referrer in the network stack is encountered.

BUG=422871
R=battre@chromium.org

Review URL: https://codereview.chromium.org/655533002

Cr-Commit-Position: refs/heads/master@{#299273}
parent 0decd440
......@@ -9,6 +9,7 @@
#include <vector>
#include "base/base_paths.h"
#include "base/debug/dump_without_crashing.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
#include "base/metrics/histogram.h"
......@@ -231,6 +232,8 @@ void ReportInvalidReferrerSend(const GURL& target_url,
const GURL& referrer_url) {
base::RecordAction(
base::UserMetricsAction("Net.URLRequest_StartJob_InvalidReferrer"));
base::debug::DumpWithoutCrashing();
NOTREACHED();
}
} // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment