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

Unified Diff: trunk/src/chrome/browser/managed_mode/managed_mode_browsertest.cc

Issue 13966012: Revert 195553 "Allow showing pending URL for new tab navigations..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 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: trunk/src/chrome/browser/managed_mode/managed_mode_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/managed_mode/managed_mode_browsertest.cc (revision 195969)
+++ trunk/src/chrome/browser/managed_mode/managed_mode_browsertest.cc (working copy)
@@ -175,9 +175,6 @@
content::NotificationService::AllSources());
InfoBarService* infobar_service =
InfoBarService::FromWebContents(tab);
- content::WindowedNotificationObserver back_observer(
- content::NOTIFICATION_LOAD_STOP,
- content::Source<NavigationController>(&tab->GetController()));
switch (infobar_action) {
case INFOBAR_ACCEPT:
@@ -188,7 +185,6 @@
case INFOBAR_CANCEL:
confirm_info_bar_delegate->InfoBarDismissed();
ASSERT_FALSE(confirm_info_bar_delegate->Cancel());
- back_observer.Wait();
infobar_service->RemoveInfoBar(confirm_info_bar_delegate);
break;
case INFOBAR_ALREADY_ADDED:

Powered by Google App Engine
This is Rietveld 408576698