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

Unified Diff: components/app_modal/javascript_app_modal_dialog.h

Issue 1688183002: Include suppressed dialogs in the FineTiming histogram (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: components/app_modal/javascript_app_modal_dialog.h
diff --git a/components/app_modal/javascript_app_modal_dialog.h b/components/app_modal/javascript_app_modal_dialog.h
index 111ba7d444a2209ccb6f97a4fcb79672b8927979..76c09e3eb6b0d9062dc9fdb288685dcff650aaf0 100644
--- a/components/app_modal/javascript_app_modal_dialog.h
+++ b/components/app_modal/javascript_app_modal_dialog.h
@@ -26,6 +26,9 @@ class ChromeJavaScriptDialogExtraData {
// True if the user has decided to block future JavaScript dialogs.
bool suppress_javascript_messages_;
+
+ // Number of dialogs from the origin that were suppressed.
+ int suppressed_dialog_count_;
};
// A controller + model class for JavaScript alert, confirm, prompt, and
« no previous file with comments | « no previous file | components/app_modal/javascript_app_modal_dialog.cc » ('j') | components/app_modal/javascript_dialog_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698