Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1117)

Unified Diff: content/browser/frame_host/navigation_handle_impl.cc

Issue 2380773002: Prevent tracking metrics for cases such as 204s and downloads. (Closed)
Patch Set: use existing test file Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/navigation_handle_impl.cc
diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
index 824063f5578537866e17c5e92f9baa0695283deb..8b346128ea1266f5e045f2a8401a3a2e8685d6e1 100644
--- a/content/browser/frame_host/navigation_handle_impl.cc
+++ b/content/browser/frame_host/navigation_handle_impl.cc
@@ -218,7 +218,6 @@ bool NavigationHandleImpl::IsSamePage() {
}
const net::HttpResponseHeaders* NavigationHandleImpl::GetResponseHeaders() {
- DCHECK_GE(state_, WILL_REDIRECT_REQUEST);
return response_headers_.get();
}

Powered by Google App Engine
This is Rietveld 408576698