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

Unified Diff: components/sessions/serialized_navigation_entry.h

Issue 22837005: Add HTTP status code to navigation data structures (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bug Created 7 years, 4 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: components/sessions/serialized_navigation_entry.h
diff --git a/components/sessions/serialized_navigation_entry.h b/components/sessions/serialized_navigation_entry.h
index e5813dce0d8c98fe46b869505cdec9d245f8dda2..80581cde3d586ea040bc09a82163634f2394ec37 100644
--- a/components/sessions/serialized_navigation_entry.h
+++ b/components/sessions/serialized_navigation_entry.h
@@ -100,6 +100,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
const content::PageState& page_state() const { return page_state_; }
const string16& search_terms() const { return search_terms_; }
const GURL& favicon_url() const { return favicon_url_; }
+ int http_status_code() const { return http_status_code_; }
const content::Referrer& referrer() const { return referrer_; }
content::PageTransition transition_type() const {
return transition_type_;
@@ -149,6 +150,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
base::Time timestamp_;
string16 search_terms_;
GURL favicon_url_;
+ int http_status_code_;
// Additional information.
BlockedState blocked_state_;

Powered by Google App Engine
This is Rietveld 408576698