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

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

Issue 1681703002: Update NavigationHandleImpl#GetResponseHeaders method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@template-url-prototcol
Patch Set: Created 4 years, 10 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.h
diff --git a/content/browser/frame_host/navigation_handle_impl.h b/content/browser/frame_host/navigation_handle_impl.h
index f5ce726575ac464eb8cfe115cfa0aa4f663afe63..ef1a2597c16c52dd4f37081332ae00d92fc3ee35 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -112,6 +112,9 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
// in the network stack.
const net::HttpResponseHeaders* GetResponseHeaders();
+ // Returns whether response headers are currently available for the request.
+ bool HasResponseHeaders() const;
clamy 2016/02/09 10:42:40 nit: wrong indentation
Donn Denman 2016/02/10 01:05:05 Acknowledged.
+
void set_net_error_code(net::Error net_error_code) {
net_error_code_ = net_error_code;
}

Powered by Google App Engine
This is Rietveld 408576698