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

Unified Diff: ios/web/public/navigation_item.h

Issue 1028603004: Upstream ios/web/navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios-testing
Patch Set: Created 5 years, 9 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/public/navigation_item.h
diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h
index a17a7e4479d27a42a86cebe35959aad730b8dc46..f2dfdd10fa622ddef1b8ca5b99cb110778a38eb6 100644
--- a/ios/web/public/navigation_item.h
+++ b/ios/web/public/navigation_item.h
@@ -104,6 +104,11 @@ class NavigationItem {
// - or this navigation was copied from a foreign session.
virtual void SetTimestamp(base::Time timestamp) = 0;
virtual base::Time GetTimestamp() const = 0;
+
+ // |true| if this item contains unsafe resources and will be removed. This
+ // property doesn't get serialized.
+ virtual void SetUnsafe(bool is_unsafe) = 0;
+ virtual bool IsUnsafe() const = 0;
};
} // namespace web
« ios/web/navigation/crw_session_entry.h ('K') | « ios/web/navigation/web_load_params.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698