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

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: Updated a comment. 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
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..1c55dbaa0a2cabfc82a050da4acd3a155c07b148 100644
--- a/content/browser/frame_host/navigation_handle_impl.h
+++ b/content/browser/frame_host/navigation_handle_impl.h
@@ -106,10 +106,10 @@ class CONTENT_EXPORT NavigationHandleImpl : public NavigationHandle {
NavigatorDelegate* GetDelegate() const;
- // Returns the response headers for the request. This can only be accessed
- // after a redirect was encountered or after the the navigation is ready to
- // commit. It should not be modified, as modifications will not be reflected
- // in the network stack.
+ // Returns the response headers for the request or nullptr if there are none.
+ // This should only be accessed after a redirect was encountered or after the
+ // navigation is ready to commit. The headers returned should not be modified,
+ // as modifications will not be reflected in the network stack.
const net::HttpResponseHeaders* GetResponseHeaders();
void set_net_error_code(net::Error net_error_code) {
« no previous file with comments | « no previous file | content/browser/frame_host/navigation_handle_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698