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

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

Issue 2722983003: Reland Tab History and BrowserViewController CRWSessionEntry removal. (Closed)
Patch Set: TODO, early return Created 3 years, 10 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
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/navigation/navigation_item_impl.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2280735b793494b12955c834f7a218c287ffc1f9..656e0a76a36dfa68ac527747afd12657d5dd4956 100644
--- a/ios/web/navigation/navigation_item_impl.h
+++ b/ios/web/navigation/navigation_item_impl.h
@@ -119,6 +119,10 @@ class NavigationItemImpl : public web::NavigationItem {
// non-persisted state, as documented on the members below.
void ResetForCommit();
+ // Returns the title string to be used for a page with |url| if that page
+ // doesn't specify a title.
+ static base::string16 GetDisplayTitleForURL(const GURL& url);
+
private:
// The NavigationManItemStorageBuilder functions require access to
// private variables of NavigationItemImpl.
« no previous file with comments | « ios/web/BUILD.gn ('k') | ios/web/navigation/navigation_item_impl.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698