Index: chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc |
diff --git a/chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc b/chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc |
index 746140c421e6344bb512d68ba289c1c9fcb8ee3b..40e9189a4f4c5d662197c4b4b892806ee0c8e66a 100644 |
--- a/chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc |
+++ b/chrome/browser/ui/app_modal_dialogs/app_modal_dialog.cc |
@@ -38,6 +38,10 @@ void AppModalDialog::CreateAndShowDialog() { |
native_dialog_->ShowAppModalDialog(); |
} |
+bool AppModalDialog::IsValid() { |
+ return !skip_this_dialog_; |
+} |
+ |
void AppModalDialog::ActivateModalDialog() { |
DCHECK(native_dialog_); |
native_dialog_->ActivateAppModalDialog(); |