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

Unified Diff: chrome/browser/ui/login/login_handler_test_utils.cc

Issue 2740783003: Revert "Revert of Reland: Switch WindowedNotificationObserver to use base::RunLoop. (patchset #3 id… (Closed)
Patch Set: Fix comment. Created 3 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: chrome/browser/ui/login/login_handler_test_utils.cc
diff --git a/chrome/browser/ui/login/login_handler_test_utils.cc b/chrome/browser/ui/login/login_handler_test_utils.cc
index a0814c6bdc8aef656f501aca0885c5c03bbccf94..d1c419d728d2fc059f7e58b29b3d17d5ff0a0f3e 100644
--- a/chrome/browser/ui/login/login_handler_test_utils.cc
+++ b/chrome/browser/ui/login/login_handler_test_utils.cc
@@ -57,6 +57,10 @@ void LoginPromptBrowserTestObserver::Register(
registrar_.Add(this, chrome::NOTIFICATION_AUTH_CANCELLED, source);
}
+void LoginPromptBrowserTestObserver::UnregisterAll() {
+ registrar_.RemoveAll();
+}
+
WindowedLoadStopObserver::WindowedLoadStopObserver(
content::NavigationController* controller,
int notification_count)
« no previous file with comments | « chrome/browser/ui/login/login_handler_test_utils.h ('k') | chrome/browser/ui/views/constrained_window_views_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698