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

Unified Diff: chrome/browser/managed_mode/managed_mode_navigation_observer.cc

Issue 15067008: [InfoBar] Add InfoBarDelegate::GetIconID() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit fixes redux Created 7 years, 7 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/managed_mode/managed_mode_navigation_observer.cc
diff --git a/chrome/browser/managed_mode/managed_mode_navigation_observer.cc b/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
index b782bf4030054edc477cf1c244dbc79c11da74cb..4a74d3924535b4365318589aee903321ecbc1952 100644
--- a/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
+++ b/chrome/browser/managed_mode/managed_mode_navigation_observer.cc
@@ -473,7 +473,7 @@ void ManagedModeNavigationObserver::DidNavigateMainFrame(
last_allowed_page_ = web_contents()->GetController().GetCurrentEntryIndex();
SimpleAlertInfoBarDelegate::Create(
InfoBarService::FromWebContents(web_contents()),
- NULL,
+ InfoBarDelegate::kNoIconID,
l10n_util::GetStringUTF16(IDS_MANAGED_MODE_ALREADY_ADDED_MESSAGE),
true);
return;
« no previous file with comments | « chrome/browser/infobars/simple_alert_infobar_delegate.cc ('k') | chrome/browser/media/media_stream_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698