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

Unified Diff: chrome/browser/ui/chrome_select_file_policy.cc

Issue 1520543004: Add method for identifying different InfoBars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing Created 5 years 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/ui/chrome_select_file_policy.cc
diff --git a/chrome/browser/ui/chrome_select_file_policy.cc b/chrome/browser/ui/chrome_select_file_policy.cc
index 1b322273c34401dcd5f1005c67338793d574afde..71332d2c5897f98f1dc02a4470042d146b6da237 100644
--- a/chrome/browser/ui/chrome_select_file_policy.cc
+++ b/chrome/browser/ui/chrome_select_file_policy.cc
@@ -32,6 +32,7 @@ void ChromeSelectFilePolicy::SelectFileDenied() {
if (source_contents_) {
SimpleAlertInfoBarDelegate::Create(
InfoBarService::FromWebContents(source_contents_),
+ "ChromeSelectFilePolicy",
infobars::InfoBarDelegate::kNoIconID,
gfx::VectorIconId::VECTOR_ICON_NONE,
l10n_util::GetStringUTF16(IDS_FILE_SELECTION_DIALOG_INFOBAR), true);

Powered by Google App Engine
This is Rietveld 408576698