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

Unified Diff: chrome/browser/autofill/autofill_browsertest.cc

Issue 10879037: Rename InfoBarTabService -> InfoBarService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include guard Created 8 years, 4 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/autofill/autofill_browsertest.cc
diff --git a/chrome/browser/autofill/autofill_browsertest.cc b/chrome/browser/autofill/autofill_browsertest.cc
index 44a2c9c48a044f333e5d53123c5f73642aac3156..4f6d9589d330f2cfc9a4488a8000ba00c9ea038a 100644
--- a/chrome/browser/autofill/autofill_browsertest.cc
+++ b/chrome/browser/autofill/autofill_browsertest.cc
@@ -15,7 +15,7 @@
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/api/infobars/confirm_infobar_delegate.h"
-#include "chrome/browser/api/infobars/infobar_tab_service.h"
+#include "chrome/browser/api/infobars/infobar_service.h"
#include "chrome/browser/autofill/autofill_common_test.h"
#include "chrome/browser/autofill/autofill_profile.h"
#include "chrome/browser/autofill/credit_card.h"
@@ -135,7 +135,7 @@ class WindowedPersonalDataManagerObserver
const content::NotificationDetails& details) OVERRIDE {
// Accept in the infobar.
infobar_service_ =
- InfoBarTabService::ForTab(chrome::GetActiveTabContents(browser_));
+ InfoBarService::ForTab(chrome::GetActiveTabContents(browser_));
InfoBarDelegate* infobar = infobar_service_->GetInfoBarDelegateAt(0);
ConfirmInfoBarDelegate* confirm_infobar =
@@ -148,7 +148,7 @@ class WindowedPersonalDataManagerObserver
bool has_run_message_loop_;
Browser* browser_;
content::NotificationRegistrar registrar_;
- InfoBarTabService* infobar_service_;
+ InfoBarService* infobar_service_;
};
class AutofillTest : public InProcessBrowserTest {
@@ -841,7 +841,7 @@ IN_PROC_BROWSER_TEST_F(AutofillTest, AutofillAfterTranslate) {
render_view_host(),
ChromeViewHostMsg_TranslateLanguageDetermined(0, "ja", true));
TranslateInfoBarDelegate* infobar =
- InfoBarTabService::ForTab(chrome::GetActiveTabContents(browser()))->
+ InfoBarService::ForTab(chrome::GetActiveTabContents(browser()))->
GetInfoBarDelegateAt(0)->AsTranslateInfoBarDelegate();
ASSERT_TRUE(infobar != NULL);
@@ -1015,7 +1015,7 @@ IN_PROC_BROWSER_TEST_F(AutofillTest, InvalidCreditCardNumberIsNotAggregated) {
ASSERT_FALSE(CreditCard::IsValidCreditCardNumber(ASCIIToUTF16(card)));
SubmitCreditCard("Bob Smith", card.c_str(), "12", "2014");
ASSERT_EQ(0u,
- InfoBarTabService::ForTab(chrome::GetActiveTabContents(browser()))->
+ InfoBarService::ForTab(chrome::GetActiveTabContents(browser()))->
GetInfoBarCount());
}
@@ -1229,7 +1229,7 @@ IN_PROC_BROWSER_TEST_F(AutofillTest, CCInfoNotStoredWhenAutocompleteOff) {
FillFormAndSubmit("cc_autocomplete_off_test.html", data);
ASSERT_EQ(0u,
- InfoBarTabService::ForTab(chrome::GetActiveTabContents(browser()))->
+ InfoBarService::ForTab(chrome::GetActiveTabContents(browser()))->
GetInfoBarCount());
}
« no previous file with comments | « chrome/browser/autofill/api/autofill_manager_delegate.h ('k') | chrome/browser/autofill/autofill_cc_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698