Chromium Code Reviews| Index: chrome/browser/password_manager/password_manager_browsertest.cc |
| diff --git a/chrome/browser/password_manager/password_manager_browsertest.cc b/chrome/browser/password_manager/password_manager_browsertest.cc |
| index 26adbc03fc751c5cda8778f2805371211306086c..4e8cff4c2f57d1f34b561b7f7570e2098d40da7a 100644 |
| --- a/chrome/browser/password_manager/password_manager_browsertest.cc |
| +++ b/chrome/browser/password_manager/password_manager_browsertest.cc |
| @@ -10,7 +10,6 @@ |
| #include "chrome/browser/chrome_notification_types.h" |
| #include "chrome/browser/infobars/confirm_infobar_delegate.h" |
| #include "chrome/browser/infobars/infobar.h" |
| -#include "chrome/browser/infobars/infobar_manager.h" |
| #include "chrome/browser/infobars/infobar_service.h" |
| #include "chrome/browser/password_manager/password_store_factory.h" |
| #include "chrome/browser/password_manager/test_password_store_service.h" |
| @@ -76,8 +75,7 @@ class NavigationObserver : public content::NotificationObserver, |
| switch (type) { |
| case chrome::NOTIFICATION_TAB_CONTENTS_INFOBAR_ADDED: |
| if (should_automatically_accept_infobar_) { |
| - infobar_service_->infobar_manager() |
| - ->infobar_at(0) |
| + infobar_service_->infobar_at(0) |
| ->delegate() |
| ->AsConfirmInfoBarDelegate() |
| ->Accept(); |
|
Peter Kasting
2014/04/10 00:08:59
Nit: While here: Fix wrapping:
infobar_
|