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

Unified Diff: ios/web/navigation/navigation_item_impl.h

Issue 2664113003: Moved serialization out of CRWSessionEntry. (Closed)
Patch Set: Created 3 years, 11 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: ios/web/navigation/navigation_item_impl.h
diff --git a/ios/web/navigation/navigation_item_impl.h b/ios/web/navigation/navigation_item_impl.h
index aafc060bc49c4ea5e8e3428d50e7a4dd87c48736..fd6fdda415f4968dd4ec74ce637687ce18d6b66b 100644
--- a/ios/web/navigation/navigation_item_impl.h
+++ b/ios/web/navigation/navigation_item_impl.h
@@ -21,6 +21,7 @@
namespace web {
class NavigationItemFacadeDelegate;
+class NavigationItemStorageBuilder;
// Implementation of NavigationItem.
class NavigationItemImpl : public web::NavigationItem {
@@ -141,6 +142,10 @@ class NavigationItemImpl : public web::NavigationItem {
bool should_skip_repost_form_confirmation_;
base::scoped_nsobject<NSData> post_data_;
+ // The NavigationManItemStorageBuilder functions require access to
+ // private variables of NavigationItemImpl.
+ friend NavigationItemStorageBuilder;
Eugene But (OOO till 7-30) 2017/01/31 22:12:26 nit: Do you want to move this to the top (before a
kkhorimoto 2017/02/03 00:36:09 Done.
+
// Whether the item, while loading, was created for a renderer-initiated
// navigation. This dictates whether the URL should be displayed before the
// navigation commits. It is cleared in |ResetForCommit| and not persisted.

Powered by Google App Engine
This is Rietveld 408576698