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

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

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased, most Android targets locally built successfully Created 4 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 7d8de13c3fd8ac08b917342ce7db0f2e1781ca7e..d84240b1331fdfad00d303019f500c0f338916a8 100644
--- a/ios/web/public/navigation_item.h
+++ b/ios/web/public/navigation_item.h
@@ -71,11 +71,8 @@ class NavigationItem : public base::SupportsUserData {
// Page-related helpers ------------------------------------------------------
// Returns the title to be displayed on the tab. This could be the title of
- // the page if it is available or the URL. |languages| is the list of
- // accepted languages (e.g., prefs::kAcceptLanguages) or empty if proper
- // URL formatting isn't needed (e.g., unit tests).
- virtual const base::string16& GetTitleForDisplay(
- const std::string& languages) const = 0;
+ // the page if it is available or the URL.
+ virtual const base::string16& GetTitleForDisplay() const = 0;
// Tracking stuff ------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698