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

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

Issue 8662051: retry r112077 - recently closed menu: respect middle click (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/resources/ntp4/recently_closed.js ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_restore_browsertest.cc
diff --git a/chrome/browser/sessions/session_restore_browsertest.cc b/chrome/browser/sessions/session_restore_browsertest.cc
index 1289f9fe4a9c92eda6795333fb2a11a00e8226fb..d546993b366aed25086448e6f1f4f5a2415fc90b 100644
--- a/chrome/browser/sessions/session_restore_browsertest.cc
+++ b/chrome/browser/sessions/session_restore_browsertest.cc
@@ -158,7 +158,7 @@ IN_PROC_BROWSER_TEST_F(SessionRestoreTest, RestoreIndividualTabFromWindow) {
const TabRestoreService::Tab& tab = *it;
// If this tab held url2, then restore this single tab.
if (tab.navigations[0].virtual_url() == url2) {
- service->RestoreEntryById(NULL, tab.id, false);
+ service->RestoreEntryById(NULL, tab.id, UNKNOWN);
break;
}
}
@@ -193,7 +193,7 @@ IN_PROC_BROWSER_TEST_F(SessionRestoreTest, WindowWithOneTab) {
static_cast<TabRestoreService::Tab*>(service->entries().front());
// Restore the tab.
- service->RestoreEntryById(NULL, tab->id, false);
+ service->RestoreEntryById(NULL, tab->id, UNKNOWN);
// Make sure the restore was successful.
EXPECT_EQ(0U, service->entries().size());
« no previous file with comments | « chrome/browser/resources/ntp4/recently_closed.js ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698