Index: content/public/browser/navigation_entry.h |
diff --git a/content/public/browser/navigation_entry.h b/content/public/browser/navigation_entry.h |
index c90704537fd447c2652e2921b2b4d5e0bd57a1d5..679cff1cfc456a83bed0c8c6af1abf4515b894fc 100644 |
--- a/content/public/browser/navigation_entry.h |
+++ b/content/public/browser/navigation_entry.h |
@@ -177,6 +177,16 @@ class NavigationEntry { |
// - or this navigation was copied from a foreign session. |
virtual void SetTimestamp(base::Time timestamp) = 0; |
virtual base::Time GetTimestamp() const = 0; |
+ |
+ // The status code of the last known successful navigation. If |
+ // GetHttpStatusCode() returns 0 that means that either: |
+ // |
+ // - this navigation hasn't completed yet; |
+ // - a response wasn't received; |
+ // - or this navigation was restored and for some reason the |
+ // status code wasn't available. |
+ virtual void SetHttpStatusCode(int http_status_code) = 0; |
+ virtual int GetHttpStatusCode() const = 0; |
}; |
} // namespace content |