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

Unified Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR 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/automation/automation_provider_observers.cc
diff --git a/chrome/browser/automation/automation_provider_observers.cc b/chrome/browser/automation/automation_provider_observers.cc
index 3f7aa86ffbe4f89f9d1311efbc4ecdecae45903d..71ca9de017ceba3bf1e6c59b1867d66391d5db61 100644
--- a/chrome/browser/automation/automation_provider_observers.cc
+++ b/chrome/browser/automation/automation_provider_observers.cc
@@ -1387,7 +1387,7 @@ void InfoBarCountObserver::Observe(
}
void InfoBarCountObserver::CheckCount() {
- if (tab_contents_->infobar_tab_helper()->infobar_count() != target_count_)
+ if (tab_contents_->infobar_tab_helper()->GetInfoBarCount() != target_count_)
return;
if (automation_) {
@@ -2360,7 +2360,7 @@ AutofillFormSubmittedObserver::~AutofillFormSubmittedObserver() {
if (infobar_helper_) {
InfoBarDelegate* infobar = NULL;
- if (infobar_helper_->infobar_count() > 0 &&
+ if (infobar_helper_->GetInfoBarCount() > 0 &&
(infobar = infobar_helper_->GetInfoBarDelegateAt(0))) {
infobar_helper_->RemoveInfoBar(infobar);
}
« no previous file with comments | « chrome/browser/autofill/autofill_metrics_unittest.cc ('k') | chrome/browser/automation/testing_automation_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698