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

Unified Diff: components/infobars/core/infobar_manager.cc

Issue 243953002: Update PasswordManagerBrowserTest to use the new Observer class from InfoBarManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove content notification includes Created 6 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
« no previous file with comments | « components/infobars/core/infobar_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_manager.cc
diff --git a/components/infobars/core/infobar_manager.cc b/components/infobars/core/infobar_manager.cc
index 6525a9aa87dbd72921ee5d726bec7b7f3fda9ae9..6afc9c4e51d6b3b483d3283463a0cdd069441065 100644
--- a/components/infobars/core/infobar_manager.cc
+++ b/components/infobars/core/infobar_manager.cc
@@ -10,6 +10,26 @@
namespace infobars {
+
+// InfoBarManager::Observer ---------------------------------------------------
+
+void InfoBarManager::Observer::OnInfoBarAdded(InfoBar* infobar) {
+}
+
+void InfoBarManager::Observer::OnInfoBarRemoved(InfoBar* infobar,
+ bool animate) {
+}
+
+void InfoBarManager::Observer::OnInfoBarReplaced(InfoBar* old_infobar,
+ InfoBar* new_infobar) {
+}
+
+void InfoBarManager::Observer::OnManagerShuttingDown(InfoBarManager* manager) {
+}
+
+
+// InfoBarManager --------------------------------------------------------------
+
InfoBar* InfoBarManager::AddInfoBar(scoped_ptr<InfoBar> infobar) {
DCHECK(infobar);
if (!infobars_enabled_)
« no previous file with comments | « components/infobars/core/infobar_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698