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

Unified Diff: chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc

Issue 2813253002: Replace elevation required bool with an enum. (Closed)
Patch Set: 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
Index: chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc
diff --git a/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc
index 4e60db0b70fd6f4cdee458574136179f821134a1..38bb6015efc851f563ca2bece0c69110a7fda174 100644
--- a/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc
+++ b/chrome/browser/safe_browsing/srt_chrome_prompt_impl.cc
@@ -10,6 +10,7 @@ namespace safe_browsing {
using chrome_cleaner::mojom::ChromePrompt;
using chrome_cleaner::mojom::ChromePromptRequest;
+using chrome_cleaner::mojom::ElevationStatus;
using chrome_cleaner::mojom::PromptAcceptance;
using chrome_cleaner::mojom::UwSPtr;
@@ -20,7 +21,7 @@ ChromePromptImpl::~ChromePromptImpl() {}
void ChromePromptImpl::PromptUser(
std::vector<UwSPtr> removable_uws_found,
- bool elevation_required,
+ ElevationStatus elevation_status,
const ChromePrompt::PromptUserCallback& callback) {
// Placeholder. The actual implementation will show the prompt dialog to the
// user and invoke this callback depending on the user's response.

Powered by Google App Engine
This is Rietveld 408576698