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

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

Issue 11434037: Debug prints for a failing test (ContinueWhereILeftOffTest.LocalStorageClearedOnExit). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years 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: chrome/browser/sessions/session_restore.cc
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index 217eb62a6061eea68b8bab21796dc2f4521d4c44..87156e8522801eec32a9f28b5e39d93f5a3e6717 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -958,6 +958,8 @@ class SessionRestoreImpl : public content::NotificationObserver {
std::min(selected_index,
static_cast<int>(tab.navigations.size() - 1)));
+ LOG(ERROR) << "Restoring a tab, title: "
+ << tab.navigations.at(selected_index).title();
RecordAppLaunchForTab(browser, tab, selected_index);
// Associate sessionStorage (if any) to the restored tab.
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698