| Index: chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc
|
| ===================================================================
|
| --- chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (revision 115228)
|
| +++ chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc (working copy)
|
| @@ -423,7 +423,7 @@
|
| content::NOTIFICATION_LOAD_STOP,
|
| content::Source<NavigationController>(
|
| &browser()->GetSelectedTabContentsWrapper()->tab_contents()->
|
| - controller()));
|
| + GetController()));
|
| SendCommand("\"proceed\""); // Simulate the user clicking "proceed"
|
| observer.Wait();
|
| AssertNoInterstitial(true); // Assert the interstitial is gone.
|
| @@ -452,7 +452,7 @@
|
| content::NOTIFICATION_LOAD_STOP,
|
| content::Source<NavigationController>(
|
| &browser()->GetSelectedTabContentsWrapper()->tab_contents()->
|
| - controller()));
|
| + GetController()));
|
| SendCommand("\"proceed\""); // Simulate the user clicking "proceed".
|
| observer.Wait();
|
| AssertNoInterstitial(true); // Assert the interstitial is gone
|
| @@ -469,7 +469,7 @@
|
| content::NOTIFICATION_LOAD_STOP,
|
| content::Source<NavigationController>(
|
| &browser()->GetSelectedTabContentsWrapper()->tab_contents()->
|
| - controller()));
|
| + GetController()));
|
| SendCommand("\"reportError\""); // Simulate the user clicking "report error"
|
| observer.Wait();
|
| AssertNoInterstitial(false); // Assert the interstitial is gone
|
| @@ -490,7 +490,7 @@
|
| content::NOTIFICATION_LOAD_STOP,
|
| content::Source<NavigationController>(
|
| &browser()->GetSelectedTabContentsWrapper()->tab_contents()->
|
| - controller()));
|
| + GetController()));
|
| SendCommand("\"learnMore\""); // Simulate the user clicking "learn more"
|
| observer.Wait();
|
| AssertNoInterstitial(false); // Assert the interstitial is gone
|
| @@ -511,7 +511,7 @@
|
| content::NOTIFICATION_NAV_ENTRY_COMMITTED,
|
| content::Source<NavigationController>(
|
| &browser()->GetSelectedTabContentsWrapper()->tab_contents()->
|
| - controller()));
|
| + GetController()));
|
| SendCommand("\"takeMeBack\""); // Simulate the user clicking "back"
|
| observer.Wait();
|
| AssertNoInterstitial(false); // Assert the interstitial is gone
|
|
|