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

Unified Diff: chrome/browser/visitedlink/visitedlink_unittest.cc

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 5 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: chrome/browser/visitedlink/visitedlink_unittest.cc
diff --git a/chrome/browser/visitedlink/visitedlink_unittest.cc b/chrome/browser/visitedlink/visitedlink_unittest.cc
index 40c97b9dd2bbcbed66dc86fb89b8e39e7fba82d0..1fe0fa3cff24279d292411b8f8b073bcb5fd0c83 100644
--- a/chrome/browser/visitedlink/visitedlink_unittest.cc
+++ b/chrome/browser/visitedlink/visitedlink_unittest.cc
@@ -701,7 +701,7 @@ TEST_F(VisitedLinkEventsTest, TabVisibility) {
EXPECT_EQ(0, profile()->reset_event_count());
// Simulate the tab becoming active.
- rvh_tester()->SimulateWasRestored();
+ rvh_tester()->SimulateWasShown();
// We should now have 3 add events, still no reset events.
EXPECT_EQ(1, profile()->add_event_count());
@@ -721,7 +721,7 @@ TEST_F(VisitedLinkEventsTest, TabVisibility) {
EXPECT_EQ(0, profile()->reset_event_count());
// Activate the tab.
- rvh_tester()->SimulateWasRestored();
+ rvh_tester()->SimulateWasShown();
// We should have only one more reset event.
EXPECT_EQ(1, profile()->add_event_count());
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model_unittest.cc ('k') | content/browser/browser_plugin/old/browser_plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698