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

Unified Diff: chrome/browser/sessions/base_session_service.cc

Issue 165485: Renames the NavigationEntry::display_url() to virtual_url(). (Closed)
Patch Set: Created 11 years, 4 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 | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/base_session_service.cc
diff --git a/chrome/browser/sessions/base_session_service.cc b/chrome/browser/sessions/base_session_service.cc
index 832a26e44368facd6c1f41ce2fe3d0fe269b604a..fcafbe08abed06ade4b88946751158c1a133eb49 100644
--- a/chrome/browser/sessions/base_session_service.cc
+++ b/chrome/browser/sessions/base_session_service.cc
@@ -156,7 +156,7 @@ SessionCommand* BaseSessionService::CreateUpdateTabNavigationCommand(
int bytes_written = 0;
WriteStringToPickle(pickle, &bytes_written, max_state_size,
- entry.display_url().spec());
+ entry.virtual_url().spec());
WriteString16ToPickle(pickle, &bytes_written, max_state_size, entry.title());
@@ -215,7 +215,7 @@ bool BaseSessionService::RestoreUpdateTabNavigationCommand(
}
bool BaseSessionService::ShouldTrackEntry(const NavigationEntry& entry) {
- return entry.display_url().is_valid();
+ return entry.virtual_url().is_valid();
}
bool BaseSessionService::ShouldTrackEntry(const TabNavigation& navigation) {
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698