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

Unified Diff: components/sessions/serialized_navigation_entry.h

Issue 14985014: Introduce content::PageState (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comments to the top of page_state.h Created 7 years, 7 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 dbde6d7572fef85d85255727aabf9f6f185e73e3..c9bf81eb336e6777c83ca01088d546c85e336c06 100644
--- a/components/sessions/serialized_navigation_entry.h
+++ b/components/sessions/serialized_navigation_entry.h
@@ -13,6 +13,7 @@
#include "base/string16.h"
#include "base/time.h"
#include "components/sessions/sessions_export.h"
+#include "content/public/common/page_state.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/referrer.h"
#include "googleurl/src/gurl.h"
@@ -89,7 +90,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
int unique_id() const { return unique_id_; }
const GURL& virtual_url() const { return virtual_url_; }
const string16& title() const { return title_; }
- const std::string& content_state() const { return content_state_; }
+ 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_; }
const content::Referrer& referrer() const { return referrer_; }
@@ -120,7 +121,7 @@ class SESSIONS_EXPORT SerializedNavigationEntry {
content::Referrer referrer_;
GURL virtual_url_;
string16 title_;
- std::string content_state_;
+ content::PageState page_state_;
content::PageTransition transition_type_;
bool has_post_data_;
int64 post_id_;

Powered by Google App Engine
This is Rietveld 408576698