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

Unified Diff: chrome/browser/ui/browser_dialogs.h

Issue 2795133002: Chrome Cleaner UI: Add a dialog class for the new UI (Closed)
Patch Set: Rebase Created 3 years, 8 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
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/srt_prompt_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_dialogs.h
diff --git a/chrome/browser/ui/browser_dialogs.h b/chrome/browser/ui/browser_dialogs.h
index 0a42c637bb6457ac12edd4ca027b2854983240c6..7bcd9c4136c547c2e5353667387effbaad8e5193 100644
--- a/chrome/browser/ui/browser_dialogs.h
+++ b/chrome/browser/ui/browser_dialogs.h
@@ -55,6 +55,10 @@ class PaymentRequest;
class PaymentRequestDialog;
}
+namespace safe_browsing {
+class SRTPromptController;
+}
+
namespace security_state {
struct SecurityInfo;
} // namespace security_state
@@ -189,6 +193,16 @@ enum class DialogIdentifier { UNKNOWN = 0, TRANSLATE = 1, MAX_VALUE };
// Record an UMA metric counting the creation of a dialog box of this type.
void RecordDialogCreation(DialogIdentifier identifier);
+#if defined(OS_WIN)
+
+// Shows the Chrome Cleanup dialog asking the user if they want to clean their
+// system from unwanted software. This is called when unwanted software has been
+// detected on the system.
+void ShowSRTPrompt(Browser* browser,
+ safe_browsing::SRTPromptController* controller);
+
+#endif // OS_WIN
+
} // namespace chrome
#if defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/ui/BUILD.gn ('k') | chrome/browser/ui/views/srt_prompt_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698