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

Unified Diff: content/browser/web_contents/navigation_entry_impl.cc

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: content/browser/web_contents/navigation_entry_impl.cc
diff --git a/content/browser/web_contents/navigation_entry_impl.cc b/content/browser/web_contents/navigation_entry_impl.cc
index b904acf70361a45078c0613a5a1d1413756e55ea..23c90e9d9b40981dfff69576cb7581c2420e95e1 100644
--- a/content/browser/web_contents/navigation_entry_impl.cc
+++ b/content/browser/web_contents/navigation_entry_impl.cc
@@ -135,12 +135,12 @@ const string16& NavigationEntryImpl::GetTitle() const {
return title_;
}
-void NavigationEntryImpl::SetContentState(const std::string& state) {
- content_state_ = state;
+void NavigationEntryImpl::SetPageState(const PageState& state) {
+ page_state_ = state;
}
-const std::string& NavigationEntryImpl::GetContentState() const {
- return content_state_;
+const PageState& NavigationEntryImpl::GetPageState() const {
+ return page_state_;
}
void NavigationEntryImpl::SetPageID(int page_id) {

Powered by Google App Engine
This is Rietveld 408576698